Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ CVE-2024-56649 — kernel

🟡 CVSS 5.5 — Medium ✅ No Known Exploit NVD
5.5
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

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

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.

How this vulnerability can be exploited

This issue can be reached with local access to the system, attack complexity is low, an attacker needs low-level privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality none, integrity none, availability high.

CVSS metrics in full

The score comes from this vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

  • Attack vector: Local — a local account, shell or session on the host is needed.
  • Attack complexity: Low — the attack works reliably, with no preparation.
  • Privileges required: Low — an ordinary user account is enough.
  • User interaction: None — nobody has to be tricked into anything.
  • Scope: Unchanged — the damage stays inside the vulnerable component.
  • Confidentiality impact: None.
  • Integrity impact: None.
  • Availability impact: High — total loss, or loss the attacker controls.

Affected software

CVE-2024-56649 is recorded against 2 packages.

  • kernel (from 6.7.0 up to 6.12.5)
  • linux-kernel

Timeline and source

Published on 27 December 2024 and last revised on 12 August 2026. No public exploit is currently recorded for this entry. A vendor advisory or fix has been published. Record sourced from NVD.

References

git.kernel.org (Web)
git.kernel.org (Web)
git.kernel.org (Web)
github.com (Advisory)
nvd.nist.gov (Advisory)
git.kernel.org (Package)

Other advisories for this package

kernel has other advisories on record. If you are patching this one, these are worth checking on the same host:

CVE-2024-56649 on other distributions

Each distribution ships its own build and its own fixed version. Pick the one you run:

Details

Severity Medium
CVSS Score 5.5
CVSS Vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE N/A
Public Exploit ✅ No
Source NVD
Published 2024-12-27
Updated 2026-08-20
Modified 2026-08-12

Affected Packages

Software From version Fixed in
kernel 6.7.0 6.12.5
linux-kernel — —

Similar Threats

Vulnerability Monitoring

Track new vulnerabilities in kernel

CVE-2024-56649 is rated CVSS 5.5 Medium. BotEraser monitors your WordPress installation and notifies you when software you use appears in our vulnerability database.

Set Up Free Alerts →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesCVECVE 2024
✓