CVE-2026-74728

xfs: handle NULL b_addr in xfs_buf_free

No CVSS score yet EPSS 0.17%

Published 22 Aug 2026 Updated 21 Oct 2026 CNA: Linux

Check your servers for CVE-2026-74728

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-74728 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

In the Linux kernel, the following vulnerability has been resolved:

xfs: handle NULL b_addr in xfs_buf_free

When xfs_buf_alloc_backing_mem() fails, xfs_buf_free() is called with bp->b_addr still NULL. The code falls through to the folio_put path which calls virt_to_folio(NULL), dereferencing an invalid address and causing a kernel crash.

Call Trace: xfs_buf_free+0x25f/0x510 xfs_buf_alloc+0xc98/0x19b0 xfs_buf_find_insert+0x55/0x14d0 xfs_buf_get_map+0x122b/0x17c0 xfbtree_init_leaf_block+0x11c/0x4a0 xfbtree_init+0x1bb/0x460 xrep_rmap_setup_scan+0x100/0x1f0 xrep_rmapbt+0x41/0xc0

Fix this by skipping folio_put() when bp->b_addr is NULL.

Exploitation

EPSS 0.17%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 6.84% of all scored CVEs. Scores of 1 Dec 2026.

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 5076a6040ca1613e616d84aecfaac5f932db84e0, before 444ff50ece93060131ad84fbd3f378723d8ac243
affected from 5076a6040ca1613e616d84aecfaac5f932db84e0, before ccf6738adcafa5ddbddc4e71b45d8a51b86643c7
affected from 5076a6040ca1613e616d84aecfaac5f932db84e0, before 3aa0c1d23ee1b9d9b340fb2f4736536e1408d706
affected from 5076a6040ca1613e616d84aecfaac5f932db84e0, before d852729c5f4f830fbe7413df032e29459b3daf83
Other versions: unaffected
Linux
affected 6.9
unaffected before 6.9
unaffected from 6.12.114 up to and including 6.12.*
unaffected from 6.18.45 up to and including 6.18.*
unaffected from 7.1.9 up to and including 7.1.*
unaffected 7.2 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2026-74728 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2026-74728

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2026-74728
trivy image --scanners vuln IMAGE | grep CVE-2026-74728

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2026-74728 of the CVE List (CVE Program), CVE Terms of Use; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.