CVE-2024-57930
tracing: Have process_string() also allow arrays
Mitigation
- Upgrade Linux to 6.12.9 or later.
Who should check
- Anyone running Linux >= 85d7635d54d75a2589f28583dc17feedc3aa4ad6, < 3bcdc9039a6e9e6e47ed689a37b8d57894a3c571; >= f3ff759ec636b4094b8eb2c3801e4e6c97a6b712, < 631b1e09e213c86d5a4ce23d45c81af473bb0ac7; >= 2f6ad0b613cd45cca48e6eb04f65351db018afb0, < a64e5295ebc4afdefe69cdf16cc286a60ff8ba4b; >= 683eccacc02d2eb25d1c34b8fb0363fcc7e08f64, < 92bd18c74624e5eb9f96e70076aa46293f4b626f; >= 65a25d9f7ac02e0cf361356e834d1c71d36acca9, < afc6717628f959941d7b33728570568b4af1c4b8
- Anyone running Linux >= 6.1.122, < 6.1.124; >= 6.6.68, < 6.6.70; >= 6.12.7, < 6.12.9
Vulnerability facts
- Affected
- Linux >= 85d7635d54d75a2589f28583dc17feedc3aa4ad6, < 3bcdc9039a6e9e6e47ed689a37b8d57894a3c571; >= f3ff759ec636b4094b8eb2c3801e4e6c97a6b712, < 631b1e09e213c86d5a4ce23d45c81af473bb0ac7; >= 2f6ad0b613cd45cca48e6eb04f65351db018afb0, < a64e5295ebc4afdefe69cdf16cc286a60ff8ba4b; >= 683eccacc02d2eb25d1c34b8fb0363fcc7e08f64, < 92bd18c74624e5eb9f96e70076aa46293f4b626f; >= 65a25d9f7ac02e0cf361356e834d1c71d36acca9, < afc6717628f959941d7b33728570568b4af1c4b8; Linux >= 6.1.122, < 6.1.124; >= 6.6.68, < 6.6.70; >= 6.12.7, < 6.12.9
- Fixed in
- Linux 3bcdc9039a6e9e6e47ed689a37b8d57894a3c571, Linux 631b1e09e213c86d5a4ce23d45c81af473bb0ac7, Linux 92bd18c74624e5eb9f96e70076aa46293f4b626f, Linux 6.1.124, Linux 6.6.70, Linux 6.12.9
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Local
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.30% chance of exploitation in 30 days (percentile 15, 2026-11-26)
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: tracing: Have process_string() also allow arrays In order to catch a common bug where a TRACE_EVENT() TP_fast_assign() assigns an address of an allocated string to the ring buffer and then references it in TP_printk(), which can be executed hours later when the string is free, the function test_event_printk() runs on all events as they are registered to make sure there's no unwanted dereferencing. It calls process_string() to handle cases in TP_printk() format that has "%s". It returns whether or not the string is safe. But it can have some false positives. For instance, xe_bo_move() has: TP_printk("move_lacks_source:%s, migrate object %p [size %zu] from %s to %s device_id:%s", __entry->move_lacks_source ? "yes" : "no", __entry->bo, __entry->size, xe_mem_type_to_name[__entry->old_placement], xe_mem_type_to_name[__entry->new_placement], __get_str(device_id)) Where the "%s" references into xe_mem_type_to_name[]. This is an array of pointers that should be safe for the event to access. Instead of flagging this as a bad reference, if a reference points to an array, where the record field is the index, consider it safe.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= 85d7635d54d75a2589f28583dc17feedc3aa4ad6, < 3bcdc9039a6e9e6e47ed689a37b8d57894a3c571; >= f3ff759ec636b4094b8eb2c3801e4e6c97a6b712, < 631b1e09e213c86d5a4ce23d45c81af473bb0ac7; >= 2f6ad0b613cd45cca48e6eb04f65351db018afb0, < a64e5295ebc4afdefe69cdf16cc286a60ff8ba4b; >= 683eccacc02d2eb25d1c34b8fb0363fcc7e08f64, < 92bd18c74624e5eb9f96e70076aa46293f4b626f; >= 65a25d9f7ac02e0cf361356e834d1c71d36acca9, < afc6717628f959941d7b33728570568b4af1c4b8 | — | cvelist |
| Linux | >= 6.1.122, < 6.1.124; >= 6.6.68, < 6.6.70; >= 6.12.7, < 6.12.9 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-57930. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-57930.md Affected: Linux >= 85d7635d54d75a2589f28583dc17feedc3aa4ad6, < 3bcdc9039a6e9e6e47ed689a37b8d57894a3c571; >= f3ff759ec636b4094b8eb2c3801e4e6c97a6b712, < 631b1e09e213c86d5a4ce23d45c81af473bb0ac7; >= 2f6ad0b613cd45cca48e6eb04f65351db018afb0, < a64e5295ebc4afdefe69cdf16cc286a60ff8ba4b; >= 683eccacc02d2eb25d1c34b… Fixed in: Linux 3bcdc9039a6e9e6e47ed689a37b8d57894a3c571, Linux 631b1e09e213c86d5a4ce23d45c81af473bb0ac7, Linux 92bd18c74624e5eb9f96e70076aa46293f4b626f, Linux 6.1.124, Linux 6.6.70, Linux 6.12.9 Steps: 1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
- https://git.kernel.org/stable/c/3bcdc9039a6e9e6e47ed689a37b8d57894a3c571
- https://git.kernel.org/stable/c/631b1e09e213c86d5a4ce23d45c81af473bb0ac7
- https://git.kernel.org/stable/c/a64e5295ebc4afdefe69cdf16cc286a60ff8ba4b
- https://git.kernel.org/stable/c/92bd18c74624e5eb9f96e70076aa46293f4b626f
- https://git.kernel.org/stable/c/afc6717628f959941d7b33728570568b4af1c4b8
FAQ
Is CVE-2024-57930 being exploited?
There is no confirmed exploitation: CVE-2024-57930 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-57930?
Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2024-57930?
Linux >= 85d7635d54d75a2589f28583dc17feedc3aa4ad6, < 3bcdc9039a6e9e6e47ed689a37b8d57894a3c571; >= f3ff759ec636b4094b8eb2c3801e4e6c97a6b712, < 631b1e09e213c86d5a4ce23d45c81af473bb0ac7; >= 2f6ad0b613cd45cca48e6eb04f65351db018afb0, < a64e5295ebc4afdefe69cdf16cc286a60ff8ba4b; >= 683eccacc02d2eb25d1c34b8fb0363fcc7e08f64, < 92bd18c74624e5eb9f96e70076aa46293f4b626f; >= 65a25d9f7ac02e0cf361356e834d1c71d36acca9, < afc6717628f959941d7b33728570568b4af1c4b8; Linux >= 6.1.122, < 6.1.124; >= 6.6.68, < 6.6.70; >= 6.12.7, < 6.12.9.
Is there a fix for CVE-2024-57930?
Yes. Fixed in Linux 3bcdc9039a6e9e6e47ed689a37b8d57894a3c571, Linux 631b1e09e213c86d5a4ce23d45c81af473bb0ac7, Linux 92bd18c74624e5eb9f96e70076aa46293f4b626f, Linux 6.1.124, Linux 6.6.70, Linux 6.12.9. Upgrade Linux to 6.12.9 or later.
How do I check if I'm affected by CVE-2024-57930?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.