CVE-2024-50297

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-50297
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-50297.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-50297
Downstream
Related
Published
2024-11-19T01:30:44Z
Modified
2025-10-17T16:48:09.261766Z
Severity
  • 4.7 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
net: xilinx: axienet: Enqueue Tx packets in dql before dmaengine starts
Details

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

net: xilinx: axienet: Enqueue Tx packets in dql before dmaengine starts

Enqueue packets in dql after dma engine starts causes race condition. Tx transfer starts once dma engine is started and may execute dql dequeue in completion before it gets queued. It results in following kernel crash while running iperf stress test:

kernel BUG at lib/dynamicqueuelimits.c:99! <snip> Internal error: Oops - BUG: 00000000f2000800 [#1] SMP pc : dqlcompleted+0x238/0x248 lr : dqlcompleted+0x3c/0x248

Call trace: dqlcompleted+0x238/0x248 axienetdmatxcb+0xa0/0x170 xilinxdmadotasklet+0xdc/0x290 taskletactioncommon+0xf8/0x11c taskletaction+0x30/0x3c handle_softirqs+0xf8/0x230 <snip>

Start dmaengine after enqueue in dql fixes the crash.

References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
6a91b846af85a24241decd686269e8e038eb13d1
Fixed
def3dee25cbd1c9b2ed443c3f6180e952563de77
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
6a91b846af85a24241decd686269e8e038eb13d1
Fixed
5ccdcdf186aec6b9111845fd37e1757e9b413e2f

Affected versions

v6.*

v6.10
v6.10-rc1
v6.10-rc2
v6.10-rc3
v6.10-rc4
v6.10-rc5
v6.10-rc6
v6.10-rc7
v6.11
v6.11-rc1
v6.11-rc2
v6.11-rc3
v6.11-rc4
v6.11-rc5
v6.11-rc6
v6.11-rc7
v6.11.1
v6.11.2
v6.11.3
v6.11.4
v6.11.5
v6.11.6
v6.11.7
v6.12-rc1
v6.12-rc2
v6.12-rc3
v6.12-rc4
v6.12-rc5
v6.7
v6.7-rc2
v6.7-rc3
v6.7-rc4
v6.7-rc5
v6.7-rc6
v6.7-rc7
v6.7-rc8
v6.8
v6.8-rc1
v6.8-rc2
v6.8-rc3
v6.8-rc4
v6.8-rc5
v6.8-rc6
v6.8-rc7
v6.9
v6.9-rc1
v6.9-rc2
v6.9-rc3
v6.9-rc4
v6.9-rc5
v6.9-rc6
v6.9-rc7

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.8.0
Fixed
6.11.8