CVEvulnerability

CVE-2019-5023

5.9 MEDIUM Published 2019-10-31 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2019-10-31
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
5.9 MEDIUM — CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 3.0 ([email protected])
5.9 MEDIUM — CVSS:3.0/AV:L/AC:H/PR:N/UI:N/S:C/C:N/I:N/A:H
CVSS 2.0 ([email protected])
4.3 MEDIUM — AV:N/AC:M/Au:N/C:N/I:N/A:P
Weaknesses
CWE-401, CWE-772

Description

An exploitable vulnerability exists in the grsecurity PaX patch for the function read_kmem, in PaX from version pax-linux-4.9.8-test1 to 4.9.24-test7, grsecurity official from version grsecurity-3.1-4.9.8-201702060653 to grsecurity-3.1-4.9.24-201704252333, grsecurity unofficial from version v4.9.25-unofficialgrsec to v4.9.74-unofficialgrsec. PaX adds a temp buffer to the read_kmem function, which is never freed when an invalid address is supplied. This results in a memory leakage that can lead to a crash of the system. An attacker needs to induce a read to /dev/kmem using an invalid address to exploit this vulnerability.

Affected configurations

• opensrcsec grsecurity (>= 3.1-4.9.8-201702060653 <= 3.1-4.9.24-201704252333) • opensrcsec grsecurity (>= 4.9.25 <= 4.9.74) • opensrcsec pax (>= pax-linux-4.9.8-test1 <= pax-linux-4.9.8-test7)

Related

Weakness · CWE (2)

  • CWE-401 Missing Release of Memory after Effective Lifetime weakness
  • CWE-772 Missing Release of Resource after Effective Lifetime weakness

References