# gfs2: Fix NULL pointer dereference in gfs2_log_flush

CVE record · `CVE-2024-42079`

- **Identifiers:** `CVE-2024-42079`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **CNA:** Linux
- **Technologies:** [Linux kernel](https://agentprime.io/advisories/technology/linux-kernel.md)
- **Published:** 29 Jul 2024
- **Updated:** 10 Nov 2026
- **Reviewed by a person:** No

Published by the CVE Program (CNA: Linux) at 29 Jul 2024, 15:52 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: `82218943058d5e3fe692a38b5a549479738dab33 to before c3c5cfa3170c0940bc66a142859caac07d19b9d6` (git)
  - affected: `82218943058d5e3fe692a38b5a549479738dab33 to before 5f6a84cfb33b34610623857bd93919dcb661e29b` (git)
  - affected: `82218943058d5e3fe692a38b5a549479738dab33 to before 3429ef5f50909cee9e498c50f0c499b9397116ce` (git)
  - affected: `82218943058d5e3fe692a38b5a549479738dab33 to before f54f9d5368a4e92ede7dd078a62788dae3a7c6ef` (git)
  - affected: `82218943058d5e3fe692a38b5a549479738dab33 to before 35264909e9d1973ab9aaa2a1b07cda70f12bb828` (git)
  - Other versions: unaffected
- Vendor: Linux. Product: Linux.
  - affected: `5.12`
  - unaffected: `before 5.12` (semver)
  - unaffected: `5.15.200 to 5.15.*, inclusive` (semver)
  - unaffected: `6.1.162 to 6.1.*, inclusive` (semver)
  - unaffected: `6.6.37 to 6.6.*, inclusive` (semver)
  - unaffected: `6.9.8 to 6.9.*, inclusive` (semver)
  - unaffected: `6.10 to *, inclusive` (original_commit_for_fix)
  - Other versions: affected

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> CVE-2024-42079 affects the Linux kernel's gfs2 filesystem code, where a NULL pointer dereference in gfs2_log_flush can occur when outstanding glock work races with an unmount. The source does not describe what an attacker can do beyond this crash, and it does not say what access is required to trigger the race. The affected range is given as commits and kernel versions; upgrade to a fixed kernel release from the listed stable branches, such as 5.15.200, 6.1.162, 6.6.37, or 6.9.8 or later.

Written 19 Nov 2026.

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

No source has published a CVSS score for this record yet.

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

## Timeline

- 29 Jul 2024, 15:52 UTC: [Confirmed by the CVE List](https://www.cve.org/CVERecord?id=CVE-2024-42079)
- 29 Jul 2024, 16:15 UTC: [Confirmed by NVD](https://nvd.nist.gov/vuln/detail/CVE-2024-42079)

## Sources

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

### References from the CNA

- <https://git.kernel.org/stable/c/c3c5cfa3170c0940bc66a142859caac07d19b9d6>
- <https://git.kernel.org/stable/c/5f6a84cfb33b34610623857bd93919dcb661e29b>
- <https://git.kernel.org/stable/c/3429ef5f50909cee9e498c50f0c499b9397116ce>
- <https://git.kernel.org/stable/c/f54f9d5368a4e92ede7dd078a62788dae3a7c6ef>
- <https://git.kernel.org/stable/c/35264909e9d1973ab9aaa2a1b07cda70f12bb828>

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-42079>
- Everything that needs attention now: <https://agentprime.io/advisories/critical.md>

---

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