CVE-2024-47742
firmware_loader: Block path traversal
Mitigation
- No fix listed yet: follow the vendor advisory.
Who should check
- Anyone running Linux >= abb139e75c2cdbb955e840d6331cb5863e409d0e, < d1768e5535d3ded59f888637016e6f821f4e069f; >= abb139e75c2cdbb955e840d6331cb5863e409d0e, < 9b1ca33ebd05b3acef5b976c04e5e791af93ce1b; >= abb139e75c2cdbb955e840d6331cb5863e409d0e, < c30558e6c5c9ad6c86459d9acce1520ceeab9ea6; >= abb139e75c2cdbb955e840d6331cb5863e409d0e, < a77fc4acfd49fc6076e565445b2bc5fdc3244da4; >= abb139e75c2cdbb955e840d6331cb5863e409d0e, < 3d2411f4edcb649eaf232160db459bb4770b5251; >= abb139e75c2cdbb955e840d6331cb5863e409d0e, < 7420c1bf7fc784e587b87329cc6dfa3dca537aa4; >= abb139e75c2cdbb955e840d6331cb5863e409d0e, < 28f1cd94d3f1092728fb775a0fe26c5f1ac2ebeb; >= abb139e75c2cdbb955e840d6331cb5863e409d0e, < 6c4e13fdfcab34811c3143a0a03c05fec4e870ec; >= abb139e75c2cdbb955e840d6331cb5863e409d0e, < f0e5311aa8022107d63c54e2f03684ec097d1394
- Anyone running Linux 3.7
Vulnerability facts
- Affected
- Linux >= abb139e75c2cdbb955e840d6331cb5863e409d0e, < d1768e5535d3ded59f888637016e6f821f4e069f; >= abb139e75c2cdbb955e840d6331cb5863e409d0e, < 9b1ca33ebd05b3acef5b976c04e5e791af93ce1b; >= abb139e75c2cdbb955e840d6331cb5863e409d0e, < c30558e6c5c9ad6c86459d9acce1520ceeab9ea6; >= abb139e75c2cdbb955e840d6331cb5863e409d0e, < a77fc4acfd49fc6076e565445b2bc5fdc3244da4; >= abb139e75c2cdbb955e840d6331cb5863e409d0e, < 3d2411f4edcb649eaf232160db459bb4770b5251; >= abb139e75c2cdbb955e840d6331cb5863e409d0e, < 7420c1bf7fc784e587b87329cc6dfa3dca537aa4; >= abb139e75c2cdbb955e840d6331cb5863e409d0e, < 28f1cd94d3f1092728fb775a0fe26c5f1ac2ebeb; >= abb139e75c2cdbb955e840d6331cb5863e409d0e, < 6c4e13fdfcab34811c3143a0a03c05fec4e870ec; >= abb139e75c2cdbb955e840d6331cb5863e409d0e, < f0e5311aa8022107d63c54e2f03684ec097d1394; Linux 3.7
- Fixed in
- Linux 9b1ca33ebd05b3acef5b976c04e5e791af93ce1b, Linux 3d2411f4edcb649eaf232160db459bb4770b5251, Linux 7420c1bf7fc784e587b87329cc6dfa3dca537aa4, Linux 28f1cd94d3f1092728fb775a0fe26c5f1ac2ebeb, Linux 6c4e13fdfcab34811c3143a0a03c05fec4e870ec
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 7.8 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/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: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.37% chance of exploitation in 30 days (percentile 23, 2026-11-26)
- CWE
- CWE-22
- Modified
Description
In the Linux kernel, the following vulnerability has been resolved: firmware_loader: Block path traversal Most firmware names are hardcoded strings, or are constructed from fairly constrained format strings where the dynamic parts are just some hex numbers or such. However, there are a couple codepaths in the kernel where firmware file names contain string components that are passed through from a device or semi-privileged userspace; the ones I could find (not counting interfaces that require root privileges) are: - lpfc_sli4_request_firmware_update() seems to construct the firmware filename from "ModelName", a string that was previously parsed out of some descriptor ("Vital Product Data") in lpfc_fill_vpd() - nfp_net_fw_find() seems to construct a firmware filename from a model name coming from nfp_hwinfo_lookup(pf->hwinfo, "nffw.partno"), which I think parses some descriptor that was read from the device. (But this case likely isn't exploitable because the format string looks like "netronome/nic_%s", and there shouldn't be any *folders* starting with "netronome/nic_". The previous case was different because there, the "%s" is *at the start* of the format string.) - module_flash_fw_schedule() is reachable from the ETHTOOL_MSG_MODULE_FW_FLASH_ACT netlink command, which is marked as GENL_UNS_ADMIN_PERM (meaning CAP_NET_ADMIN inside a user namespace is enough to pass the privilege check), and takes a userspace-provided firmware name. (But I think to reach this case, you need to have CAP_NET_ADMIN over a network namespace that a special kind of ethernet device is mapped into, so I think this is not a viable attack path in practice.) Fix it by rejecting any firmware names containing ".." path components. For what it's worth, I went looking and haven't found any USB device drivers that use the firmware loader dangerously.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Linux | >= abb139e75c2cdbb955e840d6331cb5863e409d0e, < d1768e5535d3ded59f888637016e6f821f4e069f; >= abb139e75c2cdbb955e840d6331cb5863e409d0e, < 9b1ca33ebd05b3acef5b976c04e5e791af93ce1b; >= abb139e75c2cdbb955e840d6331cb5863e409d0e, < c30558e6c5c9ad6c86459d9acce1520ceeab9ea6; >= abb139e75c2cdbb955e840d6331cb5863e409d0e, < a77fc4acfd49fc6076e565445b2bc5fdc3244da4; >= abb139e75c2cdbb955e840d6331cb5863e409d0e, < 3d2411f4edcb649eaf232160db459bb4770b5251; >= abb139e75c2cdbb955e840d6331cb5863e409d0e, < 7420c1bf7fc784e587b87329cc6dfa3dca537aa4; >= abb139e75c2cdbb955e840d6331cb5863e409d0e, < 28f1cd94d3f1092728fb775a0fe26c5f1ac2ebeb; >= abb139e75c2cdbb955e840d6331cb5863e409d0e, < 6c4e13fdfcab34811c3143a0a03c05fec4e870ec; >= abb139e75c2cdbb955e840d6331cb5863e409d0e, < f0e5311aa8022107d63c54e2f03684ec097d1394 | — | cvelist |
| Linux | 3.7 | — | 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-47742. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-47742.md Affected: Linux >= abb139e75c2cdbb955e840d6331cb5863e409d0e, < d1768e5535d3ded59f888637016e6f821f4e069f; >= abb139e75c2cdbb955e840d6331cb5863e409d0e, < 9b1ca33ebd05b3acef5b976c04e5e791af93ce1b; >= abb139e75c2cdbb955e840d6331cb5863e409d0e, < c30558e6c5c9ad6c86459d9acce1520ceeab9ea6; >= abb139e75c2cdbb955e840d… Fixed in: Linux 9b1ca33ebd05b3acef5b976c04e5e791af93ce1b, Linux 3d2411f4edcb649eaf232160db459bb4770b5251, Linux 7420c1bf7fc784e587b87329cc6dfa3dca537aa4, Linux 28f1cd94d3f1092728fb775a0fe26c5f1ac2ebeb, Linux 6c4e13fdfcab34811c3143a0a03c05fec4e870ec 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/d1768e5535d3ded59f888637016e6f821f4e069f
- https://git.kernel.org/stable/c/9b1ca33ebd05b3acef5b976c04e5e791af93ce1b
- https://git.kernel.org/stable/c/c30558e6c5c9ad6c86459d9acce1520ceeab9ea6
- https://git.kernel.org/stable/c/a77fc4acfd49fc6076e565445b2bc5fdc3244da4
- https://git.kernel.org/stable/c/3d2411f4edcb649eaf232160db459bb4770b5251
- https://git.kernel.org/stable/c/7420c1bf7fc784e587b87329cc6dfa3dca537aa4
- https://git.kernel.org/stable/c/28f1cd94d3f1092728fb775a0fe26c5f1ac2ebeb
- https://git.kernel.org/stable/c/6c4e13fdfcab34811c3143a0a03c05fec4e870ec
- https://git.kernel.org/stable/c/f0e5311aa8022107d63c54e2f03684ec097d1394
FAQ
Is CVE-2024-47742 being exploited?
There is no confirmed exploitation: CVE-2024-47742 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.37% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-47742?
High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2024-47742?
Linux >= abb139e75c2cdbb955e840d6331cb5863e409d0e, < d1768e5535d3ded59f888637016e6f821f4e069f; >= abb139e75c2cdbb955e840d6331cb5863e409d0e, < 9b1ca33ebd05b3acef5b976c04e5e791af93ce1b; >= abb139e75c2cdbb955e840d6331cb5863e409d0e, < c30558e6c5c9ad6c86459d9acce1520ceeab9ea6; >= abb139e75c2cdbb955e840d6331cb5863e409d0e, < a77fc4acfd49fc6076e565445b2bc5fdc3244da4; >= abb139e75c2cdbb955e840d6331cb5863e409d0e, < 3d2411f4edcb649eaf232160db459bb4770b5251; >= abb139e75c2cdbb955e840d6331cb5863e409d0e, < 7420c1bf7fc784e587b87329cc6dfa3dca537aa4; >= abb139e75c2cdbb955e840d6331cb5863e409d0e, < 28f1cd94d3f1092728fb775a0fe26c5f1ac2ebeb; >= abb139e75c2cdbb955e840d6331cb5863e409d0e, < 6c4e13fdfcab34811c3143a0a03c05fec4e870ec; >= abb139e75c2cdbb955e840d6331cb5863e409d0e, < f0e5311aa8022107d63c54e2f03684ec097d1394; Linux 3.7.
Is there a fix for CVE-2024-47742?
Yes. Fixed in Linux 9b1ca33ebd05b3acef5b976c04e5e791af93ce1b, Linux 3d2411f4edcb649eaf232160db459bb4770b5251, Linux 7420c1bf7fc784e587b87329cc6dfa3dca537aa4, Linux 28f1cd94d3f1092728fb775a0fe26c5f1ac2ebeb, Linux 6c4e13fdfcab34811c3143a0a03c05fec4e870ec. No fix listed yet: follow the vendor advisory.
How do I check if I'm affected by CVE-2024-47742?
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.