# CVE-2024-47742: firmware\_loader: Block path traversal

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

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **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
- **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.37% (percentile 23, 2026-11-26)
- **CWE:** CWE-22
- **Published:** 2024-10-21T12:14:10.499Z
- **Modified:** 2026-08-05T11:39:52.866Z

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

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

- Linux: \>= abb139e75c2cdbb955e840d6331cb5863e409d0e, \< d1768e5535d3ded59f888637016e6f821f4e069f; \>= abb139e75c2cdbb955e840d6331cb5863e409d0e, \< 9b1ca33ebd05b3acef5b976c04e5e791af93ce1b; \>= abb139e75c2cdbb955e840d6331cb5863e409d0e, \< c30558e6c5c9ad6c86459d9acce1520ceeab9ea6; \>= abb139e75c2cdbb955e840d6331cb5863e409d0e, \< a77fc4acfd49fc6076e565445b2bc5fdc3244da4; \>= abb139e75c2cdbb955e840d6331cb5863e409d0e, \< 3d2411f4edcb649eaf232160db459bb4770b5251; \>= abb139e75c2cdbb955e840d6331cb5863e409d0e, \< 7420c1bf7fc784e587b87329cc6dfa3dca537aa4; \>= abb139e75c2cdbb955e840d6331cb5863e409d0e, \< 28f1cd94d3f1092728fb775a0fe26c5f1ac2ebeb; \>= abb139e75c2cdbb955e840d6331cb5863e409d0e, \< 6c4e13fdfcab34811c3143a0a03c05fec4e870ec; \>= abb139e75c2cdbb955e840d6331cb5863e409d0e, \< f0e5311aa8022107d63c54e2f03684ec097d1394 (cvelist)
- Linux: 3.7 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

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

## References

- patch: <https://git.kernel.org/stable/c/d1768e5535d3ded59f888637016e6f821f4e069f>
- patch: <https://git.kernel.org/stable/c/9b1ca33ebd05b3acef5b976c04e5e791af93ce1b>
- patch: <https://git.kernel.org/stable/c/c30558e6c5c9ad6c86459d9acce1520ceeab9ea6>
- patch: <https://git.kernel.org/stable/c/a77fc4acfd49fc6076e565445b2bc5fdc3244da4>
- patch: <https://git.kernel.org/stable/c/3d2411f4edcb649eaf232160db459bb4770b5251>
- patch: <https://git.kernel.org/stable/c/7420c1bf7fc784e587b87329cc6dfa3dca537aa4>
- patch: <https://git.kernel.org/stable/c/28f1cd94d3f1092728fb775a0fe26c5f1ac2ebeb>
- patch: <https://git.kernel.org/stable/c/6c4e13fdfcab34811c3143a0a03c05fec4e870ec>
- patch: <https://git.kernel.org/stable/c/f0e5311aa8022107d63c54e2f03684ec097d1394>
- other: <https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html>
- other: <https://lists.debian.org/debian-lts-announce/2025/01/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-47742>

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