CVE-2024-26999

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-26999
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-26999.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-26999
Downstream
Related
Published
2024-05-01T05:28:30.760Z
Modified
2025-11-28T02:35:28.588340Z
Summary
serial/pmac_zilog: Remove flawed mitigation for rx irq flood
Details

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

serial/pmac_zilog: Remove flawed mitigation for rx irq flood

The mitigation was intended to stop the irq completely. That may be better than a hard lock-up but it turns out that you get a crash anyway if you're using pmac_zilog as a serial console:

ttyPZ0: pmz: rx irq flood ! BUG: spinlock recursion on CPU#0, swapper/0

That's because the prerr() call in pmzreceivechars() results in pmzconsolewrite() attempting to lock a spinlock already locked in pmzinterrupt(). With CONFIGDEBUGSPINLOCK=y, this produces a fatal BUG splat. The spinlock in question is the one in struct uart_port.

Even when it's not fatal, the serial port rx function ceases to work. Also, the iteration limit doesn't play nicely with QEMU, as can be seen in the bug report linked below.

A web search for other reports of the error message "pmz: rx irq flood" didn't produce anything. So I don't think this code is needed any more. Remove it.

Database specific
{
    "cna_assigner": "Linux",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/26xxx/CVE-2024-26999.json"
}
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
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2
Fixed
69a02273e288011b521ee7c1f3ab2c23fda633ce
Fixed
d679c816929d62af51c8e6d7fc0e165c9412d2f3
Fixed
ab86cf6f8d24e63e9aca23da5108af1aa5483928
Fixed
7a3bbe41efa55323b6ea3c35fa15941d4dbecdef
Fixed
bbaafbb4651fede8d3c3881601ecaa4f834f9d3f
Fixed
52aaf1ff14622a04148dbb9ccce6d9de5d534ea7
Fixed
ca09dfc3cfdf89e6af3ac24e1c6c0be5c575a729
Fixed
1be3226445362bfbf461c92a5bcdb1723f2e4907

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
2.6.12
Fixed
4.19.313
Type
ECOSYSTEM
Events
Introduced
4.20.0
Fixed
5.4.275
Type
ECOSYSTEM
Events
Introduced
5.5.0
Fixed
5.10.216
Type
ECOSYSTEM
Events
Introduced
5.11.0
Fixed
5.15.157
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.1.88
Type
ECOSYSTEM
Events
Introduced
6.2.0
Fixed
6.6.29
Type
ECOSYSTEM
Events
Introduced
6.7.0
Fixed
6.8.8