5.5

CVE-2024-58085: tomoyo: don't emit warning in tomoyo_write_control()

Modified
AliasesUBUNTU-CVE-2024-58085DEBIAN-CVE-2024-58085
Published 06-03-2025Last modified 15-10-2026

Vulnerability summary

CVE-2024-58085 is a medium (CVSS 5.5) vulnerability in linux. EPSS estimates a 0.21% chance of exploitation in the next 30 days, higher than 12.2% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.5, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
5.5/10
010
Medium · v3.1 (NVD)
EPSS score
0.21%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 51 · Related 50

Timeline

  1. 06-03-2025
    PublishedVulnerability first disclosed.
  2. 15-10-2026
    Last modifiedVulnerability information updated.

Description

In the Linux kernel, the following vulnerability has been resolved: tomoyo: don't emit warning in tomoyo_write_control() syzbot is reporting too large allocation warning at tomoyo_write_control(), for one can write a very very long line without new line character. To fix this warning, I use __GFP_NOWARN rather than checking for KMALLOC_MAX_SIZE, for practically a valid line should be always shorter than 32KB where the "too small to fail" memory-allocation rule applies. One might try to write a valid line that is longer than 32KB, but such request will likely fail with -ENOMEM. Therefore, I feel that separately returning -EINVAL when a line is longer than KMALLOC_MAX_SIZE is redundant. There is no need to distinguish over-32KB and over-KMALLOC_MAX_SIZE.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.21%

Chance of exploitation in the next 30 days

Percentile

12%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.21% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

No weakness data has been published for this record.

Affected systems

Version check

Known conditions: local access, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.

Ubuntu138 products
  • linuxAll versions (No fix recorded) | < 5.4.0-216.236 | < 5.15.0-140.150 | < 6.8.0-64.67
  • linux-allwinner-5.19All versions (No fix recorded)
  • linux-awsAll versions (No fix recorded) | < 5.4.0-1146.156 | < 5.15.0-1084.91 | < 6.8.0-1032.34
  • linux-aws-5.0All versions (No fix recorded)
  • linux-aws-5.11All versions (No fix recorded)
Linux2 products
  • linux≥ bd03a3e4c9a9df0c6b007045fa7fc8889111a478, < c67efabddc73171c7771d3ffe4ffa1e503ee533e | ≥ bd03a3e4c9a9df0c6b007045fa7fc8889111a478, < f6b37b3e12de638753bce79a2858070b9c4a4ad3 | ≥ bd03a3e4c9a9df0c6b007045fa7fc8889111a478, < b2bd5857a0d6973ebbcb4d9831ddcaebbd257be1 | ≥ bd03a3e4c9a9df0c6b007045fa7fc8889111a478, < a01c200fa7eb59da4d2dbbb48b61f4a0d196c09f | ≥ bd03a3e4c9a9df0c6b007045fa7fc8889111a478, < fe1c021eb03dae0dc9dce55e81f77a60e419a27a | ≥ bd03a3e4c9a9df0c6b007045fa7fc8889111a478, < c9382f380e8d09209b8e5c0def0545852168be25 | ≥ bd03a3e4c9a9df0c6b007045fa7fc8889111a478, < 414705c0303350d139b1dc18f329fe47dfb642dd | ≥ bd03a3e4c9a9df0c6b007045fa7fc8889111a478, < 3df7546fc03b8f004eee0b9e3256369f7d096685 | 3.1
  • linux_kernel< 5.4.291 | ≥ 5.5, < 5.10.235 | ≥ 5.11, < 5.15.179 | ≥ 5.16, < 6.1.129 | ≥ 6.2, < 6.6.78 | ≥ 6.7, < 6.12.14 | ≥ 6.13, < 6.13.3
Debian1 product
  • linux< 6.1.129-1 | < 6.12.15-1

3 vendors · 141 products

References

57 links
Show all 57 references