# CVE-2024-56649: net: enetc: Do not configure preemptible TCs if SIs do not support

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

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; 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:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.29% (percentile 15, 2026-11-26)
- **CWE:** CWE-476
- **Published:** 2024-12-27T15:02:49.412Z
- **Modified:** 2026-06-17T08:12:38.643Z

## Who should check

- Anyone running Linux \>= 827145392a4aad635b93e5235b7d7fecc2fa31c7, \< 66127f0d1ecf00604aeab71132bde398fd9ec7c9; \>= 827145392a4aad635b93e5235b7d7fecc2fa31c7, \< b718b68a9964181e24d15138a09ce95785a19002; \>= 827145392a4aad635b93e5235b7d7fecc2fa31c7, \< b2420b8c81ec674552d00c55d46245e5c184b260
- Anyone running Linux 6.4

## Description

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

net: enetc: Do not configure preemptible TCs if SIs do not support

Both ENETC PF and VF drivers share enetc\_setup\_tc\_mqprio() to configure
MQPRIO. And enetc\_setup\_tc\_mqprio() calls enetc\_change\_preemptible\_tcs()
to configure preemptible TCs. However, only PF is able to configure
preemptible TCs. Because only PF has related registers, while VF does not
have these registers. So for VF, its hw-\>port pointer is NULL. Therefore,
VF will access an invalid pointer when accessing a non-existent register,
which will cause a crash issue. The simplified log is as follows.

root@ls1028ardb:~\# tc qdisc add dev eno0vf0 parent root handle 100: \\
mqprio num\_tc 4 map 0 0 1 1 2 2 3 3 queues 1@0 1@1 1@2 1@3 hw 1
\[  187.290775\] Unable to handle kernel paging request at virtual address 0000000000001f00
\[  187.424831\] pc : enetc\_mm\_commit\_preemptible\_tcs+0x1c4/0x400
\[  187.430518\] lr : enetc\_mm\_commit\_preemptible\_tcs+0x30c/0x400
\[  187.511140\] Call trace:
\[  187.513588\]  enetc\_mm\_commit\_preemptible\_tcs+0x1c4/0x400
\[  187.518918\]  enetc\_setup\_tc\_mqprio+0x180/0x214
\[  187.523374\]  enetc\_vf\_setup\_tc+0x1c/0x30
\[  187.527306\]  mqprio\_enable\_offload+0x144/0x178
\[  187.531766\]  mqprio\_init+0x3ec/0x668
\[  187.535351\]  qdisc\_create+0x15c/0x488
\[  187.539023\]  tc\_modify\_qdisc+0x398/0x73c
\[  187.542958\]  rtnetlink\_rcv\_msg+0x128/0x378
\[  187.547064\]  netlink\_rcv\_skb+0x60/0x130
\[  187.550910\]  rtnetlink\_rcv+0x18/0x24
\[  187.554492\]  netlink\_unicast+0x300/0x36c
\[  187.558425\]  netlink\_sendmsg+0x1a8/0x420
\[  187.606759\] ---\[ end trace 0000000000000000 \]---

In addition, some PFs also do not support configuring preemptible TCs,
such as eno1 and eno3 on LS1028A. It won't crash like it does for VFs,
but we should prevent these PFs from accessing these unimplemented
registers.

## Affected and fixed versions

- Linux: \>= 827145392a4aad635b93e5235b7d7fecc2fa31c7, \< 66127f0d1ecf00604aeab71132bde398fd9ec7c9; \>= 827145392a4aad635b93e5235b7d7fecc2fa31c7, \< b718b68a9964181e24d15138a09ce95785a19002; \>= 827145392a4aad635b93e5235b7d7fecc2fa31c7, \< b2420b8c81ec674552d00c55d46245e5c184b260 (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-56649. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-56649.md
Affected: Linux >= 827145392a4aad635b93e5235b7d7fecc2fa31c7, < 66127f0d1ecf00604aeab71132bde398fd9ec7c9; >= 827145392a4aad635b93e5235b7d7fecc2fa31c7, < b718b68a9964181e24d15138a09ce95785a19002; >= 827145392a4aad635b93e5235b7d7fecc2fa31c7, < b2420b8c81ec674552d00c55d46245e5c184b260; Linux 6.4
Fixed in: Linux 66127f0d1ecf00604aeab71132bde398fd9ec7c9

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

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

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

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

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

Linux \>= 827145392a4aad635b93e5235b7d7fecc2fa31c7, \< 66127f0d1ecf00604aeab71132bde398fd9ec7c9; \>= 827145392a4aad635b93e5235b7d7fecc2fa31c7, \< b718b68a9964181e24d15138a09ce95785a19002; \>= 827145392a4aad635b93e5235b7d7fecc2fa31c7, \< b2420b8c81ec674552d00c55d46245e5c184b260; Linux 6.4.

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

Yes. Fixed in Linux 66127f0d1ecf00604aeab71132bde398fd9ec7c9. No fix listed yet: follow the vendor advisory.

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

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/66127f0d1ecf00604aeab71132bde398fd9ec7c9>
- patch: <https://git.kernel.org/stable/c/b718b68a9964181e24d15138a09ce95785a19002>
- patch: <https://git.kernel.org/stable/c/b2420b8c81ec674552d00c55d46245e5c184b260>

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

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