# CVE-2024-35901: net: mana: Fix Rx DMA datasize and skb\_over\_panic

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

- **Severity:** HIGH 7.5
- **CVSS:** 7.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.83% (percentile 55, 2026-11-26)
- **CWE:** CWE-401
- **Published:** 2024-05-19T08:34:54.879Z
- **Modified:** 2026-08-05T11:30:52.091Z

## Who should check

- Anyone running Linux \>= 2fbbd712baf1c60996554326728bbdbef5616e12, \< ca58927b00385005f488b6a9905ced7a4f719aad; \>= 2fbbd712baf1c60996554326728bbdbef5616e12, \< 05cb7c41fa1a7a7b2c2a6b81bbe7c67f5c11932b; \>= 2fbbd712baf1c60996554326728bbdbef5616e12, \< c0de6ab920aafb56feab56058e46b688e694a246
- Anyone running Linux 6.4

## Description

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

net: mana: Fix Rx DMA datasize and skb\_over\_panic

mana\_get\_rxbuf\_cfg() aligns the RX buffer's DMA datasize to be
multiple of 64. So a packet slightly bigger than mtu+14, say 1536,
can be received and cause skb\_over\_panic.

Sample dmesg:
\[ 5325.237162\] skbuff: skb\_over\_panic: text:ffffffffc043277a len:1536 put:1536 head:ff1100018b517000 data:ff1100018b517100 tail:0x700 end:0x6ea dev:\<NULL\>
\[ 5325.243689\] ------------\[ cut here \]------------
\[ 5325.245748\] kernel BUG at net/core/skbuff.c:192!
\[ 5325.247838\] invalid opcode: 0000 \[\#1\] PREEMPT SMP NOPTI
\[ 5325.258374\] RIP: 0010:skb\_panic+0x4f/0x60
\[ 5325.302941\] Call Trace:
\[ 5325.304389\]  \<IRQ\>
\[ 5325.315794\]  ? skb\_panic+0x4f/0x60
\[ 5325.317457\]  ? asm\_exc\_invalid\_op+0x1f/0x30
\[ 5325.319490\]  ? skb\_panic+0x4f/0x60
\[ 5325.321161\]  skb\_put+0x4e/0x50
\[ 5325.322670\]  mana\_poll+0x6fa/0xb50 \[mana\]
\[ 5325.324578\]  \_\_napi\_poll+0x33/0x1e0
\[ 5325.326328\]  net\_rx\_action+0x12e/0x280

As discussed internally, this alignment is not necessary. To fix
this bug, remove it from the code. So oversized packets will be
marked as CQE\_RX\_TRUNCATED by NIC, and dropped.

## Affected and fixed versions

- Linux: \>= 2fbbd712baf1c60996554326728bbdbef5616e12, \< ca58927b00385005f488b6a9905ced7a4f719aad; \>= 2fbbd712baf1c60996554326728bbdbef5616e12, \< 05cb7c41fa1a7a7b2c2a6b81bbe7c67f5c11932b; \>= 2fbbd712baf1c60996554326728bbdbef5616e12, \< c0de6ab920aafb56feab56058e46b688e694a246 (cvelist)
- Linux: 6.4 (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-2024-35901. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-35901.md
Affected: Linux >= 2fbbd712baf1c60996554326728bbdbef5616e12, < ca58927b00385005f488b6a9905ced7a4f719aad; >= 2fbbd712baf1c60996554326728bbdbef5616e12, < 05cb7c41fa1a7a7b2c2a6b81bbe7c67f5c11932b; >= 2fbbd712baf1c60996554326728bbdbef5616e12, < c0de6ab920aafb56feab56058e46b688e694a246; Linux 6.4
Fixed in: Linux 05cb7c41fa1a7a7b2c2a6b81bbe7c67f5c11932b

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-2024-35901 being exploited?

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

### How serious is CVE-2024-35901?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2024-35901?

Linux \>= 2fbbd712baf1c60996554326728bbdbef5616e12, \< ca58927b00385005f488b6a9905ced7a4f719aad; \>= 2fbbd712baf1c60996554326728bbdbef5616e12, \< 05cb7c41fa1a7a7b2c2a6b81bbe7c67f5c11932b; \>= 2fbbd712baf1c60996554326728bbdbef5616e12, \< c0de6ab920aafb56feab56058e46b688e694a246; Linux 6.4.

### Is there a fix for CVE-2024-35901?

Yes. Fixed in Linux 05cb7c41fa1a7a7b2c2a6b81bbe7c67f5c11932b. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2024-35901?

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

- patch: <https://git.kernel.org/stable/c/ca58927b00385005f488b6a9905ced7a4f719aad>
- patch: <https://git.kernel.org/stable/c/05cb7c41fa1a7a7b2c2a6b81bbe7c67f5c11932b>
- patch: <https://git.kernel.org/stable/c/c0de6ab920aafb56feab56058e46b688e694a246>

## 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-2024-35901>

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