serial: msm: Disable DMA for kernel console UART (Linux Linux)

CVE-2026-80886
Not available

At a glance

Source
NVD
EPSS
EPSS 0.18 % · percentile 8 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
Affected products
Linux · Linux
NVD status
Received

Description

In the Linux kernel, the following vulnerability has been resolved: serial: msm: Disable DMA for kernel console UART At the moment, concurrent writes from userspace and the kernel to the console can trigger a race condition that results in an infinite loop of the same messages printed over and over again. This is most likely to happen during system startup or shutdown when the init system starts/stops a large number of system services that interact with various kernel code. When userspace writes to the TTY device, the driver initiates an asynchronous DMA transfer and releases the port lock. At the same moment, the kernel printk path might grab the port lock and re-configure the UART controller for PIO, without waiting for the DMA operation to complete. It seems like this collision results in zero progress being reported for the DMA engine, so the same text is printed to the console over and over again. For the kernel console, we want a reliable output path that will be functional even during crashes etc. So rather than implementing complex code to synchronize the kernel console write routines with the userspace DMA write routines, simply disable DMA for the console UART instance. Similar checks exist in many other serial drivers, e.g. 8250_port.c, imx.c, sh-sci.c etc.

References

European references

CERT-FR advisories

Affected products

ProductAffected versions
Linux · Linux
affected : ≥ 3a878c430fd6eb4f8587f9ebd187f773bf85d1d6 < f58e568dc308c8e13f7730c8de2da5ed514e540d
affected : ≥ 3a878c430fd6eb4f8587f9ebd187f773bf85d1d6 < bb4296de5b538b575978c588cb3738ab8524d01a
affected : ≥ 3a878c430fd6eb4f8587f9ebd187f773bf85d1d6 < 6acea62738ed4cae6746483026706a773b44dad7
affected : ≥ 3a878c430fd6eb4f8587f9ebd187f773bf85d1d6 < abc1926c88c189e5d698b91ed6890e09ab5c321d
affected : ≥ 3a878c430fd6eb4f8587f9ebd187f773bf85d1d6 < 2727744ccb5ca59090451451ee94f530b1be04a5
affected : ≥ 3a878c430fd6eb4f8587f9ebd187f773bf85d1d6 < d354716245192de2d203f2b35f22ab8dc13595e2
affected : ≥ 3a878c430fd6eb4f8587f9ebd187f773bf85d1d6 < e3b42e326f4f30efcdc90bad5f5ba37e1cd91a47
affected : ≥ 3a878c430fd6eb4f8587f9ebd187f773bf85d1d6 < 22dd2777e6c180e1c945b00f6d18550979436324
Other versions : unaffected
Linux · Linux
affected : 4.4
unaffected : ≥ 0 < 4.4
unaffected : ≥ 5.10.261 ≤ 5.10.*
unaffected : ≥ 5.15.212 ≤ 5.15.*
unaffected : ≥ 6.1.178 ≤ 6.1.*
unaffected : ≥ 6.6.145 ≤ 6.6.*
unaffected : ≥ 6.12.97 ≤ 6.12.*
unaffected : ≥ 6.18.40 ≤ 6.18.*
unaffected : ≥ 7.1.5 ≤ 7.1.*
unaffected : ≥ 7.2 ≤ *
Other versions : affected

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD