Name | CVE-2024-58085 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-4102-1 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
linux (PTS) | bullseye | 5.10.223-1 | vulnerable |
bullseye (security) | 5.10.234-1 | vulnerable | |
bookworm | 6.1.129-1 | fixed | |
bookworm (security) | 6.1.133-1 | fixed | |
trixie | 6.12.21-1 | fixed | |
sid | 6.12.22-1 | fixed | |
linux-6.1 (PTS) | bullseye (security) | 6.1.129-1~deb11u1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
linux | source | bookworm | 6.1.129-1 | |||
linux | source | (unstable) | 6.12.15-1 | |||
linux-6.1 | source | bullseye | 6.1.129-1~deb11u1 | DLA-4102-1 |
https://git.kernel.org/linus/3df7546fc03b8f004eee0b9e3256369f7d096685 (6.14-rc1)