# CVE-2024-57930: tracing: Have process\_string() also allow arrays

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **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
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.30% (percentile 15, 2026-11-26)
- **Published:** 2025-01-21T12:01:27.807Z
- **Modified:** 2026-06-17T08:14:15.550Z

## 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

## 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

- 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)

## Mitigation

- Upgrade Linux to 6.12.9 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
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.
```

## 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.

## References

- patch: <https://git.kernel.org/stable/c/3bcdc9039a6e9e6e47ed689a37b8d57894a3c571>
- patch: <https://git.kernel.org/stable/c/631b1e09e213c86d5a4ce23d45c81af473bb0ac7>
- patch: <https://git.kernel.org/stable/c/a64e5295ebc4afdefe69cdf16cc286a60ff8ba4b>
- patch: <https://git.kernel.org/stable/c/92bd18c74624e5eb9f96e70076aa46293f4b626f>
- patch: <https://git.kernel.org/stable/c/afc6717628f959941d7b33728570568b4af1c4b8>
- other: <https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-57930>

HTML: <https://flawdb.com/CVE-2024-57930> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-57930>
