CVE-2025-21820tty: xilinx_uartps: split sysrq handling
- 5.5MediumCVSS base score
- 0.17%Exploitation in 30 daysEPSS · top 94% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
In the Linux kernel, the following vulnerability has been resolved: tty: xilinx_uartps: split sysrq handling lockdep detects the following circular locking dependency: CPU 0 CPU 1 ========================== ============================ cdns_uart_isr() printk() uart_port_lock(port) console_lock() cdns_uart_console_write() if (!port->sysrq) uart_port_lock(port) uart_handle_break() port->sysrq = ... uart_handle_sysrq_char() printk() console_lock() The fixed commit attempts to avoid this situation by only taking the port lock in cdns_uart_console_write if port->sysrq unset. However, if (as shown above) cdns_uart_console_write runs before port->sysrq is set, then it will try to take the port lock anyway. This may result in a deadlock. Fix this by splitting sysrq handling into two parts. We use the prepare helper under the port lock and defer handling until we release the lock.
Timeline
ID reserved
By Linux
- 2 months later
· 2 months later
Published
- 15 months later
· 15 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | Medium5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 0.17% · top 94% of all CVEs (18 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.5.
Affected products
- affected 74ea66d4ca061a3cd4c0e924e51b60e924644852 – < e22a97700901ba5e8bf8db68056a0d50f9440cae
- affected 74ea66d4ca061a3cd4c0e924e51b60e924644852 – < de5bd24197bd9ee37ec1e379a3d882bbd15c5065
- affected 74ea66d4ca061a3cd4c0e924e51b60e924644852 – < 8ea0e7b3d7b8f2f0fc9db491ff22a0abe120801c
- affected 74ea66d4ca061a3cd4c0e924e51b60e924644852 – < 9b88a7c4584ba67267a051069b8abe44fc9595b2
- affected 74ea66d4ca061a3cd4c0e924e51b60e924644852 – < 4410dba9807a17a93f649a9f5870ceaf30a675a3
- affected 74ea66d4ca061a3cd4c0e924e51b60e924644852 – < b06f388994500297bb91be60ffaf6825ecfd2afe
- affected 4.6
- unaffected < 4.6
- unaffected 5.15.179 – ≤ 5.15.*
- unaffected 6.1.129 – ≤ 6.1.*
- unaffected 6.6.78 – ≤ 6.6.*
- unaffected 6.12.14 – ≤ 6.12.*
- unaffected 6.13.3 – ≤ 6.13.*
- unaffected 6.14 – ≤ *
References
References7
- https://git.kernel.org/stable/c/e22a97700901ba5e8bf8db68056a0d50f9440cae (opens in a new tab)
- https://git.kernel.org/stable/c/de5bd24197bd9ee37ec1e379a3d882bbd15c5065 (opens in a new tab)
- https://git.kernel.org/stable/c/8ea0e7b3d7b8f2f0fc9db491ff22a0abe120801c (opens in a new tab)
- https://git.kernel.org/stable/c/9b88a7c4584ba67267a051069b8abe44fc9595b2 (opens in a new tab)
- https://git.kernel.org/stable/c/4410dba9807a17a93f649a9f5870ceaf30a675a3 (opens in a new tab)
- https://git.kernel.org/stable/c/b06f388994500297bb91be60ffaf6825ecfd2afe (opens in a new tab)
- https://lists.debian.org/debian-lts-announce/2025/03/msg00028.html (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2025-5974 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2025-21820)Record last updated .