Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-74321

HIGH 7.5EPSS 50%

btrfs: fix invalid pointer dereference in __btrfs_run_delayed_refs()

Mitigation

  • Upgrade Linux to 486f8298b6188ff11ef1f4be7f1d5d2e4d1b1fae or later.

Who should check

  • Anyone running Linux >= 0110a4c43451533de1ea1bbdc57b5d452f9d8b25, < c372ca227e16bace86f1df1fa4ae6849e2fcfa28; >= 0110a4c43451533de1ea1bbdc57b5d452f9d8b25, < a71143590ce9764dbcb47617647592ff8b4d48bc; >= 0110a4c43451533de1ea1bbdc57b5d452f9d8b25, < 65770111a2d47c2b15e20b2ba92bb12198f289d4; >= 0110a4c43451533de1ea1bbdc57b5d452f9d8b25, < 015dc4a1e0c2cba551d4620eba13d26d5081dc34; >= 0110a4c43451533de1ea1bbdc57b5d452f9d8b25, < ba9fa2ff5981589bb49094d3358c339b37c47f53; >= 0110a4c43451533de1ea1bbdc57b5d452f9d8b25, < 3b15d02be05e74321adb1e0ae0cb4ccfba7c6cb1; >= 0110a4c43451533de1ea1bbdc57b5d452f9d8b25, < 9faa6b69ad73f03c7bde53e07d75a28822dc9a1a; >= 0110a4c43451533de1ea1bbdc57b5d452f9d8b25, < 486f8298b6188ff11ef1f4be7f1d5d2e4d1b1fae
  • Anyone running Linux 4.20

Vulnerability facts

Affected
Linux >= 0110a4c43451533de1ea1bbdc57b5d452f9d8b25, < c372ca227e16bace86f1df1fa4ae6849e2fcfa28; >= 0110a4c43451533de1ea1bbdc57b5d452f9d8b25, < a71143590ce9764dbcb47617647592ff8b4d48bc; >= 0110a4c43451533de1ea1bbdc57b5d452f9d8b25, < 65770111a2d47c2b15e20b2ba92bb12198f289d4; >= 0110a4c43451533de1ea1bbdc57b5d452f9d8b25, < 015dc4a1e0c2cba551d4620eba13d26d5081dc34; >= 0110a4c43451533de1ea1bbdc57b5d452f9d8b25, < ba9fa2ff5981589bb49094d3358c339b37c47f53; >= 0110a4c43451533de1ea1bbdc57b5d452f9d8b25, < 3b15d02be05e74321adb1e0ae0cb4ccfba7c6cb1; >= 0110a4c43451533de1ea1bbdc57b5d452f9d8b25, < 9faa6b69ad73f03c7bde53e07d75a28822dc9a1a; >= 0110a4c43451533de1ea1bbdc57b5d452f9d8b25, < 486f8298b6188ff11ef1f4be7f1d5d2e4d1b1fae; Linux 4.20
Fixed in
Linux 65770111a2d47c2b15e20b2ba92bb12198f289d4, Linux 015dc4a1e0c2cba551d4620eba13d26d5081dc34, Linux 3b15d02be05e74321adb1e0ae0cb4ccfba7c6cb1, Linux 9faa6b69ad73f03c7bde53e07d75a28822dc9a1a, Linux 486f8298b6188ff11ef1f4be7f1d5d2e4d1b1fae
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
7.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: None
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
EPSS
0.72% chance of exploitation in 30 days (percentile 50, 2026-11-28)
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: btrfs: fix invalid pointer dereference in __btrfs_run_delayed_refs() In the beginning of the loop, we try to obtain a locked delayed ref head, if 'locked_ref' is currently NULL, by calling btrfs_select_ref_head(), which can return an error pointer. If the error pointer is -EAGAIN we do a continue and go back to the beginning of the loop, which will not try again to call btrfs_select_ref_head() since 'locked_ref' is no longer NULL but it's ERR_PTR(-EAGAIN), and then we do: spin_lock(&locked_ref->lock); against a ERR_PTR(-EAGAIN) value, generating an invalid pointer dereference. Fix this by ensuring that 'locked_ref' is set to NULL when btrfs_select_ref_head() returns ERR_PTR(-EAGAIN) and incrementing 'count' as well, to prevent infinite looping. We do this by doing a goto to the bottom of the loop that already sets 'locked_ref' to NULL and does a cond_resched(), with an increment to 'count' right before the goto. These measures were in place before the refactoring in commit 0110a4c43451 ("btrfs: refactor __btrfs_run_delayed_refs loop") but were unintentionally lost afterwards.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 0110a4c43451533de1ea1bbdc57b5d452f9d8b25, < c372ca227e16bace86f1df1fa4ae6849e2fcfa28; >= 0110a4c43451533de1ea1bbdc57b5d452f9d8b25, < a71143590ce9764dbcb47617647592ff8b4d48bc; >= 0110a4c43451533de1ea1bbdc57b5d452f9d8b25, < 65770111a2d47c2b15e20b2ba92bb12198f289d4; >= 0110a4c43451533de1ea1bbdc57b5d452f9d8b25, < 015dc4a1e0c2cba551d4620eba13d26d5081dc34; >= 0110a4c43451533de1ea1bbdc57b5d452f9d8b25, < ba9fa2ff5981589bb49094d3358c339b37c47f53; >= 0110a4c43451533de1ea1bbdc57b5d452f9d8b25, < 3b15d02be05e74321adb1e0ae0cb4ccfba7c6cb1; >= 0110a4c43451533de1ea1bbdc57b5d452f9d8b25, < 9faa6b69ad73f03c7bde53e07d75a28822dc9a1a; >= 0110a4c43451533de1ea1bbdc57b5d452f9d8b25, < 486f8298b6188ff11ef1f4be7f1d5d2e4d1b1fae—cvelist
Linux4.20—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-2026-74321. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-74321.md
Affected: Linux >= 0110a4c43451533de1ea1bbdc57b5d452f9d8b25, < c372ca227e16bace86f1df1fa4ae6849e2fcfa28; >= 0110a4c43451533de1ea1bbdc57b5d452f9d8b25, < a71143590ce9764dbcb47617647592ff8b4d48bc; >= 0110a4c43451533de1ea1bbdc57b5d452f9d8b25, < 65770111a2d47c2b15e20b2ba92bb12198f289d4; >= 0110a4c43451533de1ea1bb…
Fixed in: Linux 65770111a2d47c2b15e20b2ba92bb12198f289d4, Linux 015dc4a1e0c2cba551d4620eba13d26d5081dc34, Linux 3b15d02be05e74321adb1e0ae0cb4ccfba7c6cb1, Linux 9faa6b69ad73f03c7bde53e07d75a28822dc9a1a, Linux 486f8298b6188ff11ef1f4be7f1d5d2e4d1b1fae

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

FAQ

Is CVE-2026-74321 being exploited?

There is no confirmed exploitation: CVE-2026-74321 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.72% chance of exploitation in the next 30 days (as of 2026-11-28).

How serious is CVE-2026-74321?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

Which versions are affected by CVE-2026-74321?

Linux >= 0110a4c43451533de1ea1bbdc57b5d452f9d8b25, < c372ca227e16bace86f1df1fa4ae6849e2fcfa28; >= 0110a4c43451533de1ea1bbdc57b5d452f9d8b25, < a71143590ce9764dbcb47617647592ff8b4d48bc; >= 0110a4c43451533de1ea1bbdc57b5d452f9d8b25, < 65770111a2d47c2b15e20b2ba92bb12198f289d4; >= 0110a4c43451533de1ea1bbdc57b5d452f9d8b25, < 015dc4a1e0c2cba551d4620eba13d26d5081dc34; >= 0110a4c43451533de1ea1bbdc57b5d452f9d8b25, < ba9fa2ff5981589bb49094d3358c339b37c47f53; >= 0110a4c43451533de1ea1bbdc57b5d452f9d8b25, < 3b15d02be05e74321adb1e0ae0cb4ccfba7c6cb1; >= 0110a4c43451533de1ea1bbdc57b5d452f9d8b25, < 9faa6b69ad73f03c7bde53e07d75a28822dc9a1a; >= 0110a4c43451533de1ea1bbdc57b5d452f9d8b25, < 486f8298b6188ff11ef1f4be7f1d5d2e4d1b1fae; Linux 4.20.

Is there a fix for CVE-2026-74321?

Yes. Fixed in Linux 65770111a2d47c2b15e20b2ba92bb12198f289d4, Linux 015dc4a1e0c2cba551d4620eba13d26d5081dc34, Linux 3b15d02be05e74321adb1e0ae0cb4ccfba7c6cb1, Linux 9faa6b69ad73f03c7bde53e07d75a28822dc9a1a, Linux 486f8298b6188ff11ef1f4be7f1d5d2e4d1b1fae. Upgrade Linux to 486f8298b6188ff11ef1f4be7f1d5d2e4d1b1fae or later.

How do I check if I'm affected by CVE-2026-74321?

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.

Sponsors