# CVE-2026-90098: net: sparx5: fix sleep in atomic context in MAC table access

> 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.20% (percentile 5, 2026-11-26)
- **Published:** 2026-09-17T16:06:10.203Z
- **Modified:** 2026-10-19T09:18:59.060Z

## Who should check

- Anyone running Linux \>= d6fce5141929697a27f029c633433d487f6f62cb, \< 648d196ccc03ae3b04402ae71ffa44959a85e88f; \>= d6fce5141929697a27f029c633433d487f6f62cb, \< b62793a7baeea9cf20209c9fd2e333311aaf3b8d
- Anyone running Linux 5.14

## Description

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

net: sparx5: fix sleep in atomic context in MAC table access

sparx5\_set\_rx\_mode() runs with netif\_addr\_lock\_bh held and iterates
dev-\>mc via \_\_dev\_mc\_sync(), which per address calls sparx5\_mc\_sync() /
sparx5\_mc\_unsync() -\> sparx5\_mact\_learn() / sparx5\_mact\_forget().  These
take sparx5-\>lock, a mutex, and then poll the MAC access command
register with readx\_poll\_timeout(). A mutex may block, which is not
allowed from atomic context.

Convert the driver to the new .ndo\_set\_rx\_mode\_async callback introduced
in commit 3554b4345d85 ("net: introduce ndo\_set\_rx\_mode\_async and
netdev\_rx\_mode\_work"). The async callback is invoked from process
context, so the mutex and sleeping completion poll can remain.

Observed with CONFIG\_PROVE\_LOCKING, CONFIG\_DEBUG\_SPINLOCK,
CONFIG\_DEBUG\_MUTEXES and CONFIG\_DEBUG\_ATOMIC\_SLEEP enabled:

  BUG: sleeping function called from invalid context at kernel/locking/mutex.c:591
  in\_atomic(): 1, irqs\_disabled(): 0, non\_block: 0, pid: 217, name: ip
  preempt\_count: 201, expected: 0
  Call trace:
   \_\_might\_resched+0x144/0x248
   \_\_might\_sleep+0x48/0x7c
   \_\_mutex\_lock+0x74/0x850
   mutex\_lock\_nested+0x24/0x30
   sparx5\_mact\_learn+0x78/0x100
   sparx5\_mc\_sync+0x40/0x54
   \_\_hw\_addr\_sync\_dev+0xc4/0x170
   sparx5\_set\_rx\_mode+0x4c/0x58
   \_\_dev\_set\_rx\_mode+0x64/0xa4
   \_\_dev\_open+0x1ec/0x26c

## Affected and fixed versions

- Linux: \>= d6fce5141929697a27f029c633433d487f6f62cb, \< 648d196ccc03ae3b04402ae71ffa44959a85e88f; \>= d6fce5141929697a27f029c633433d487f6f62cb, \< b62793a7baeea9cf20209c9fd2e333311aaf3b8d (cvelist)
- Linux: 5.14 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-90098.md
Affected: Linux >= d6fce5141929697a27f029c633433d487f6f62cb, < 648d196ccc03ae3b04402ae71ffa44959a85e88f; >= d6fce5141929697a27f029c633433d487f6f62cb, < b62793a7baeea9cf20209c9fd2e333311aaf3b8d; Linux 5.14
Fixed in: Linux 648d196ccc03ae3b04402ae71ffa44959a85e88f

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

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

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

It has no CVSS score yet. Unknown.

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

Linux \>= d6fce5141929697a27f029c633433d487f6f62cb, \< 648d196ccc03ae3b04402ae71ffa44959a85e88f; \>= d6fce5141929697a27f029c633433d487f6f62cb, \< b62793a7baeea9cf20209c9fd2e333311aaf3b8d; Linux 5.14.

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

Yes. Fixed in Linux 648d196ccc03ae3b04402ae71ffa44959a85e88f. No fix listed yet: follow the vendor advisory.

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

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/648d196ccc03ae3b04402ae71ffa44959a85e88f>
- other: <https://git.kernel.org/stable/c/b62793a7baeea9cf20209c9fd2e333311aaf3b8d>

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

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