# hfs: fix to initialize fields of hfs_inode_info after hfs_alloc_inode()

CVE record · `CVE-2024-42311`

- **Identifiers:** `CVE-2024-42311`
- **State:** Confirmed
- **Severity:** CVSS 7.8 High
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 17 Aug 2024
- **Updated:** 5 Aug 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 17 Aug 2024, 09:09 UTC. agentprime has not analysed this yet, so whether it affects any app is not known. This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it.

## Affected products, as the CNA wrote them

- Vendor: Linux. Product: Linux.
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before f7316b2b2f11cf0c6de917beee8d3de728be24db` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 4a52861cd76e79f1a593beb23d096523eb9732c2` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 10f7163bfb5f8b4e0c9c05a939f20b8540e33c65` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before d55aae5c1730d6b70d5d8eaff00113cd34772ea3` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 58d83fc160505a7009c39dec64effaac5129b971` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 9c4e40b9b731220f9464975e49da75496e3865c4` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before d3493d6f0dfb1ab5225b62faa77732983f2187a1` (git)
  - affected: `1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to before 26a2ed107929a855155429b11e1293b83e6b2a8b` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `2.6.12`
  - unaffected: `before 2.6.12` (semver)
  - unaffected: `4.19.320 to 4.19.*, inclusive` (semver)
  - unaffected: `5.4.282 to 5.4.*, inclusive` (semver)
  - unaffected: `5.10.224 to 5.10.*, inclusive` (semver)
  - unaffected: `5.15.165 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.103 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.44 to 6.6.*, inclusive` (semver)
  - unaffected: `6.10.3 to 6.10.*, inclusive` (semver)
  - unaffected: `6.11 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Not analysed yet

We haven’t published our own analysis of this CVE. If a person reviews it, this page will say what’s affected and what has to be true for it to matter.

## Severity and exploitation

- 7.8 High, CVSS 3.1: `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`, from CNA (Linux)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0028, the 20th percentile, on 21 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

This record came from the full history of the CVE Program, published 17 Aug 2024. New records show when each source confirmed them.

## Sources

- [CVE List: CVE-2024-42311](https://www.cve.org/CVERecord?id=CVE-2024-42311)
- [NVD: CVE-2024-42311](https://nvd.nist.gov/vuln/detail/CVE-2024-42311)

### References from the CNA

- <https://git.kernel.org/stable/c/f7316b2b2f11cf0c6de917beee8d3de728be24db>
- <https://git.kernel.org/stable/c/4a52861cd76e79f1a593beb23d096523eb9732c2>
- <https://git.kernel.org/stable/c/10f7163bfb5f8b4e0c9c05a939f20b8540e33c65>
- <https://git.kernel.org/stable/c/d55aae5c1730d6b70d5d8eaff00113cd34772ea3>
- <https://git.kernel.org/stable/c/58d83fc160505a7009c39dec64effaac5129b971>
- <https://git.kernel.org/stable/c/9c4e40b9b731220f9464975e49da75496e3865c4>
- <https://git.kernel.org/stable/c/d3493d6f0dfb1ab5225b62faa77732983f2187a1>
- <https://git.kernel.org/stable/c/26a2ed107929a855155429b11e1293b83e6b2a8b>

Facts on this page come from the CVE List as the CNA published them, with CVSS from the sources named above, CISA KEV and FIRST EPSS. Vendors, products and versions are shown as the CNA wrote them. We don’t reproduce the CVE’s description.

## Check whether this affects you

This CVE names a vendor and product rather than a package, so the lockfile check doesn’t match it. Compare the affected versions above with what you run.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), `get_advisory` returns this record and `search_advisories` finds related ones. Setup: <https://agentprime.io/mcp.md>
- As JSON: <https://api.agentprime.io/v1/advisories/CVE-2024-42311>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

The web page: <https://agentprime.io/advisories/CVE-2024-42311/>. Everything for agents: <https://agentprime.io/llms.txt>.
