← back
CVE-2014-0196

CVE-2014-0196

CVSS 5.5 MEDIUMEPSS 22.5%● KEVCWE-362
In short

A flaw in the Linux kernel's terminal driver allows a local user to crash the system or gain elevated privileges by exploiting a race condition when reading and writing long strings to the terminal. This happens because the driver doesn't properly protect access during specific terminal settings.

Technical detail

CVE-2014-0196 is a race condition in the n_tty_write function (drivers/tty/n_tty.c) affecting Linux kernel versions through 3.14.3. The vulnerability occurs when LECHO is set and OPOST is disabled, allowing local attackers to trigger memory corruption via concurrent read/write operations with long strings, potentially leading to DoS or privilege escalation.

Summary generated and translated by AI from the official description.
The n_tty_write function in drivers/tty/n_tty.c in the Linux kernel through 3.14.3 does not properly manage tty driver access in the "LECHO & !OPOST" case, which allows local users to cause a denial of service (memory corruption and system crash) or gain privileges by triggering a race condition involving read and write operations with long strings.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Affected products
n/a · n/a
⚠ Public resources, to assess the exposure of systems you control or are authorized to test. Test only with authorization.

Want to know if your infrastructure is exposed to this?

Talk to TrueHacking →