CVE-2024-44950

serial: sc16is7xx: fix invalid FIFO access with special register set

State
Published
Severity
7.1 High
Published
Sep 4, 2024
Updated
Aug 5, 2026
Reserved
Aug 21, 2024

Read the record on cve.org

Description

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

serial: sc16is7xx: fix invalid FIFO access with special register set

When enabling access to the special register set, Receiver time-out and RHR interrupts can happen. In this case, the IRQ handler will try to read from the FIFO thru the RHR register at address 0x00, but address 0x00 is mapped to DLL register, resulting in erroneous FIFO reading.

Call graph example: sc16is7xx_startup(): entry sc16is7xx_ms_proc(): entry sc16is7xx_set_termios(): entry sc16is7xx_set_baud(): DLH/DLL = $009C --> access special register set sc16is7xx_port_irq() entry --> IIR is 0x0C sc16is7xx_handle_rx() entry sc16is7xx_fifo_read(): --> unable to access FIFO (RHR) because it is mapped to DLL (LCR=LCR_CONF_MODE_A) sc16is7xx_set_baud(): exit --> Restore access to general register set

Fix the problem by claiming the efr_lock mutex when accessing the Special register set.

Scores

CVSSScoreVectorSource
3.17.1 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • dfeae619d781dee61666d5551b93ba3be755a86b to before cc6a3f35bc9b3a8da1b195420a2e8d9fdadfa831Affected
  • dfeae619d781dee61666d5551b93ba3be755a86b to before dc5ead0e8fc5ef53b8553394d4aab60c277976b3Affected
  • dfeae619d781dee61666d5551b93ba3be755a86b to before 6a6730812220a9a5ce4003eb347da1ee5abd06b0Affected
  • dfeae619d781dee61666d5551b93ba3be755a86b to before 7d3b793faaab1305994ce568b59d61927235f57bAffected
LinuxLinux
  • 3.16Affected
  • before 3.16Not affected
  • 6.1.120 through 6.1.*Not affected
  • 6.6.64 through 6.6.*Not affected
  • 6.10.5 through 6.10.*Not affected
  • 6.11 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.