Skip to contentSkip to conversation

CVE-2026-72376: afs: Fix misplaced inc of net->cells_outstanding

DISCUSSION Greg Kroah-Hartman 1 participant 1 message Aug 15

lore
Share & tools
lore
#0 lore raw

From: Greg Kroah-Hartman <[email protected]>

Description
===========

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

afs: Fix misplaced inc of net->cells_outstanding

Fix net->cells_outstanding being incremented before the check for failure of idr_alloc_cyclic(), leaving the count incremented on error.

The Linux kernel CVE team has assigned CVE-2026-72376 to this issue.

Affected and fixed versions
===========================

	Issue introduced in 5.10 with commit 88c853c3f5c0a07c5db61b494ee25152535cfeee and fixed in 6.12.97 with commit 6e310f818abcef947a06584158b9e6c6cd0c98d3
	Issue introduced in 5.10 with commit 88c853c3f5c0a07c5db61b494ee25152535cfeee and fixed in 6.18.40 with commit 5ea289ca751c47125f6a4138c93ba10c05cd28f0
	Issue introduced in 5.10 with commit 88c853c3f5c0a07c5db61b494ee25152535cfeee and fixed in 7.1.5 with commit 654a546c34f3921dd03f9ea74e60139ebffd9e20
	Issue introduced in 5.10 with commit 88c853c3f5c0a07c5db61b494ee25152535cfeee and fixed in 7.2-rc2 with commit c9c3b615a462a4023bd148f02c564e175ed10502
	Issue introduced in 5.8.17 with commit e44b8d2aa1543f5c554fda7839574abe8a5ef5ba
	Issue introduced in 5.9.2 with commit f339eda9b90e49e82043c145ac628d679d913638

Please see https://www.kernel.org for a full list of currently supported kernel versions by the kernel community.

Unaffected versions might change over time as fixes are backported to older supported kernel versions. The official CVE entry at

	https://cve.org/CVERecord/?id=CVE-2026-72376

will be updated if fixes are backported, please check that for the most up to date information about this issue.

Affected files
==============

The file(s) affected by this issue are:
fs/afs/cell.c

Mitigation
==========

The Linux kernel CVE team recommends that you update to the latest stable kernel version for this, and many other bugfixes. Individual changes are never tested alone, but rather are part of a larger kernel release. Cherry-picking individual commits is not recommended or supported by the Linux kernel community at all. If however, updating to the latest release is impossible, the individual changes to resolve this issue can be found at these commits:

	https://git.kernel.org/stable/c/6e310f818abcef947a06584158b9e6c6cd0c98d3
	https://git.kernel.org/stable/c/5ea289ca751c47125f6a4138c93ba10c05cd28f0
	https://git.kernel.org/stable/c/654a546c34f3921dd03f9ea74e60139ebffd9e20
	https://git.kernel.org/stable/c/c9c3b615a462a4023bd148f02c564e175ed10502