# CVE-2026-74506: afs: Fix UAF when sending a message

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.17% (percentile 4, 2026-11-26)
- **Published:** 2026-08-15T12:27:30.057Z
- **Modified:** 2026-10-21T13:19:44.837Z

## Who should check

- Anyone running Linux \>= e49c7b2f6de7ff81ca34c56e4eeb4fa740c099f2, \< cbb0d3da042c01082f40166fdc99bf1752db72be; \>= e49c7b2f6de7ff81ca34c56e4eeb4fa740c099f2, \< c0d3b81f703b2a9e37fe1347610a50cdf0078c27; \>= e49c7b2f6de7ff81ca34c56e4eeb4fa740c099f2, \< daaa726b14fc3026a6b328614d312b698f62f391; \>= e49c7b2f6de7ff81ca34c56e4eeb4fa740c099f2, \< 4af1ec68d54b3871155914d584fb10669c41a861
- Anyone running Linux 5.8

## Description

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

afs: Fix UAF when sending a message

In afs\_make\_call(), there's a race with async call reception and
destruction.  If a call is dispatched that doesn't have call-\>write\_iter
set (used to specify the data content for FS.StoreData), then the first
rxrpc\_kernel\_send\_data() will not set MSG\_MORE in the msghdr.

Once rxrpc\_send\_data() queues the last request packet, the response could
come in at any time and cause the call to be completed and put.  However,
afs\_make\_call() will look at the call again to see it -\>write\_iter should
be handled - something it's only allowed to do if it has its own ref on the
call.  Whilst this is the case for synchronous calls, it isn't true for
async calls such as FS.FetchData.

There's also a potential UAF in afs\_make\_call() in the event that an
asynchronous call is being sent, but the call fails in some way (e.g. it
gets aborted from the server).  The problem there is that afs\_make\_call()
tries to abort a call if the rxrpc send fails, but the asynchronous
notification from rxrpc may have caused the afs\_call to be torn down.

generic/650 plays games with randomly taking CPUs offline, and can
interject a significant delay such that the call is deallocated before
afs\_make\_call() gets to check call-\>write\_iter - and a UAF ensues (caught
by KASAN).

   BUG: KASAN: slab-use-after-free in afs\_make\_call+0x1c90/0x2210 \[kafs\]
   Read of size 8 at addr ffff888035e050e8 by task fsstress/1409

Fix this by making afs\_make\_op\_call() give the op-\>call its own ref rather
than transferring the caller's ref to it and then dropping the ref when
afs\_make\_call() returns.

This also means that the afs\_make\_call() func never loses its ref on the
call now.

## Affected and fixed versions

- Linux: \>= e49c7b2f6de7ff81ca34c56e4eeb4fa740c099f2, \< cbb0d3da042c01082f40166fdc99bf1752db72be; \>= e49c7b2f6de7ff81ca34c56e4eeb4fa740c099f2, \< c0d3b81f703b2a9e37fe1347610a50cdf0078c27; \>= e49c7b2f6de7ff81ca34c56e4eeb4fa740c099f2, \< daaa726b14fc3026a6b328614d312b698f62f391; \>= e49c7b2f6de7ff81ca34c56e4eeb4fa740c099f2, \< 4af1ec68d54b3871155914d584fb10669c41a861 (cvelist)
- Linux: 5.8 (cvelist)

## Mitigation

- Upgrade Linux to 4af1ec68d54b3871155914d584fb10669c41a861 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-74506. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-74506.md
Affected: Linux >= e49c7b2f6de7ff81ca34c56e4eeb4fa740c099f2, < cbb0d3da042c01082f40166fdc99bf1752db72be; >= e49c7b2f6de7ff81ca34c56e4eeb4fa740c099f2, < c0d3b81f703b2a9e37fe1347610a50cdf0078c27; >= e49c7b2f6de7ff81ca34c56e4eeb4fa740c099f2, < daaa726b14fc3026a6b328614d312b698f62f391; >= e49c7b2f6de7ff81ca34c56…
Fixed in: Linux 4af1ec68d54b3871155914d584fb10669c41a861

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.
```

## FAQ

### Is CVE-2026-74506 being exploited?

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

### How serious is CVE-2026-74506?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-74506?

Linux \>= e49c7b2f6de7ff81ca34c56e4eeb4fa740c099f2, \< cbb0d3da042c01082f40166fdc99bf1752db72be; \>= e49c7b2f6de7ff81ca34c56e4eeb4fa740c099f2, \< c0d3b81f703b2a9e37fe1347610a50cdf0078c27; \>= e49c7b2f6de7ff81ca34c56e4eeb4fa740c099f2, \< daaa726b14fc3026a6b328614d312b698f62f391; \>= e49c7b2f6de7ff81ca34c56e4eeb4fa740c099f2, \< 4af1ec68d54b3871155914d584fb10669c41a861; Linux 5.8.

### Is there a fix for CVE-2026-74506?

Yes. Fixed in Linux 4af1ec68d54b3871155914d584fb10669c41a861. Upgrade Linux to 4af1ec68d54b3871155914d584fb10669c41a861 or later.

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

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.

## References

- other: <https://git.kernel.org/stable/c/cbb0d3da042c01082f40166fdc99bf1752db72be>
- other: <https://git.kernel.org/stable/c/c0d3b81f703b2a9e37fe1347610a50cdf0078c27>
- other: <https://git.kernel.org/stable/c/daaa726b14fc3026a6b328614d312b698f62f391>
- other: <https://git.kernel.org/stable/c/4af1ec68d54b3871155914d584fb10669c41a861>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-74506>

HTML: <https://flawdb.com/CVE-2026-74506> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-74506>
