# CVE-2026-97599: ieee802154: hwsim: serialize pib updates to fix double-free

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

- **Severity:** UNSCORED
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Unknown
- **EPSS:** 0.21% (percentile 7, 2026-11-26)
- **Published:** 2026-09-25T10:22:13.606Z
- **Modified:** 2026-10-30T13:21:09.240Z

## Who should check

- Anyone running Linux \>= f25da51fdc381ca2863248c7060b3662632f0872, \< 8f44a61f816581c35c1974c8c1a3b3c2c49e96be; \>= f25da51fdc381ca2863248c7060b3662632f0872, \< e3b4681197aa026bd2d79358de5a3d62b76b04b9; \>= f25da51fdc381ca2863248c7060b3662632f0872, \< 9973b3a67a7592a780ea12b08334539a900deec1; \>= f25da51fdc381ca2863248c7060b3662632f0872, \< d3b8f264ce09573aededd0a97dc41c8147797d8f; \>= f25da51fdc381ca2863248c7060b3662632f0872, \< db6442deecb1f13aeaf4f9d77746ea7555630fb3; \>= f25da51fdc381ca2863248c7060b3662632f0872, \< 979d5b8de8ed4e1f997aef12da5694b99be7b871
- Anyone running Linux 4.19

## Description

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

ieee802154: hwsim: serialize pib updates to fix double-free

hwsim\_update\_pib() does an unserialized read-swap-free of phy-\>pib:

	pib\_old = rtnl\_dereference(phy-\>pib);
	...
	rcu\_assign\_pointer(phy-\>pib, pib);
	kfree\_rcu(pib\_old, rcu);

It assumes the RTNL is held, but -\>set\_channel is not always called
under it: the mac802154 scan worker changes channels via
drv\_set\_channel() without the RTNL. Such an update can race an
RTNL-held one on the same phy; both read the same pib\_old and both
kfree\_rcu() it, double-freeing the object. With SLUB percpu sheaves
batching kfree\_rcu(), this surfaces as a KASAN invalid-free in
rcu\_free\_sheaf().

struct hwsim\_phy has no lock for pib. Add one and make the swap atomic
with rcu\_replace\_pointer() under it, dropping the misleading
rtnl\_dereference().

## Affected and fixed versions

- Linux: \>= f25da51fdc381ca2863248c7060b3662632f0872, \< 8f44a61f816581c35c1974c8c1a3b3c2c49e96be; \>= f25da51fdc381ca2863248c7060b3662632f0872, \< e3b4681197aa026bd2d79358de5a3d62b76b04b9; \>= f25da51fdc381ca2863248c7060b3662632f0872, \< 9973b3a67a7592a780ea12b08334539a900deec1; \>= f25da51fdc381ca2863248c7060b3662632f0872, \< d3b8f264ce09573aededd0a97dc41c8147797d8f; \>= f25da51fdc381ca2863248c7060b3662632f0872, \< db6442deecb1f13aeaf4f9d77746ea7555630fb3; \>= f25da51fdc381ca2863248c7060b3662632f0872, \< 979d5b8de8ed4e1f997aef12da5694b99be7b871 (cvelist)
- Linux: 4.19 (cvelist)

## Mitigation

- Upgrade Linux to 979d5b8de8ed4e1f997aef12da5694b99be7b871 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-97599. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-97599.md
Affected: Linux >= f25da51fdc381ca2863248c7060b3662632f0872, < 8f44a61f816581c35c1974c8c1a3b3c2c49e96be; >= f25da51fdc381ca2863248c7060b3662632f0872, < e3b4681197aa026bd2d79358de5a3d62b76b04b9; >= f25da51fdc381ca2863248c7060b3662632f0872, < 9973b3a67a7592a780ea12b08334539a900deec1; >= f25da51fdc381ca2863248c…
Fixed in: Linux 8f44a61f816581c35c1974c8c1a3b3c2c49e96be, Linux 9973b3a67a7592a780ea12b08334539a900deec1, Linux 979d5b8de8ed4e1f997aef12da5694b99be7b871

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-97599 being exploited?

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= f25da51fdc381ca2863248c7060b3662632f0872, \< 8f44a61f816581c35c1974c8c1a3b3c2c49e96be; \>= f25da51fdc381ca2863248c7060b3662632f0872, \< e3b4681197aa026bd2d79358de5a3d62b76b04b9; \>= f25da51fdc381ca2863248c7060b3662632f0872, \< 9973b3a67a7592a780ea12b08334539a900deec1; \>= f25da51fdc381ca2863248c7060b3662632f0872, \< d3b8f264ce09573aededd0a97dc41c8147797d8f; \>= f25da51fdc381ca2863248c7060b3662632f0872, \< db6442deecb1f13aeaf4f9d77746ea7555630fb3; \>= f25da51fdc381ca2863248c7060b3662632f0872, \< 979d5b8de8ed4e1f997aef12da5694b99be7b871; Linux 4.19.

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

Yes. Fixed in Linux 8f44a61f816581c35c1974c8c1a3b3c2c49e96be, Linux 9973b3a67a7592a780ea12b08334539a900deec1, Linux 979d5b8de8ed4e1f997aef12da5694b99be7b871. Upgrade Linux to 979d5b8de8ed4e1f997aef12da5694b99be7b871 or later.

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

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/8f44a61f816581c35c1974c8c1a3b3c2c49e96be>
- other: <https://git.kernel.org/stable/c/e3b4681197aa026bd2d79358de5a3d62b76b04b9>
- other: <https://git.kernel.org/stable/c/9973b3a67a7592a780ea12b08334539a900deec1>
- other: <https://git.kernel.org/stable/c/d3b8f264ce09573aededd0a97dc41c8147797d8f>
- other: <https://git.kernel.org/stable/c/db6442deecb1f13aeaf4f9d77746ea7555630fb3>
- other: <https://git.kernel.org/stable/c/979d5b8de8ed4e1f997aef12da5694b99be7b871>

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

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