LiveActive security incident?Get immediate response
CVE Record

CVE-2024-36016: tty: n_gsm: fix possible out-of-bounds in gsm0_receive()

In the Linux kernel, the following vulnerability has been resolved: tty: n_gsm: fix possible out-of-bounds in gsm0_receive() Assuming the following: - side A configures the n_gsm in basic option mode - side B sends the header of a basic option mode frame with data length 1 - side A switches to advanced option mode - side B sends 2 data bytes which exceeds gsm->len Reason: gsm->len is not used in advanced option mode. - side A switches to basic option mode - side B keeps sending until gsm0_receive() writes past gsm->buf Reason: Neither gsm->state nor gsm->len have been reset after reconfiguration. Fix this by changing gsm->count to gsm->len comparison from equal to less than. Also add upper limit checks against the constant MAX_MRU in gsm0_receive() and gsm1_receive() to harden against memory corruption of gsm->len and gsm->mru. All other checks remain as we still need to limit the data according to the user configuration and actual payload size.

HighCVSS 7.8Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

A flaw in Linux's n_gsm TTY line discipline can cause kernel memory corruption when frame-mode reconfiguration leaves stale length and state values. Successful abuse could compromise confidentiality, integrity, or availability. Severity is high, but exposure depends on local access and n_gsm availability or use; the supplied evidence does not show active exploitation.

Executive priority

Prioritize Linux systems using n_gsm or permitting untrusted local users to configure relevant TTY functionality. Apply supported kernel updates promptly. Systems without this exposure can follow normal kernel patching urgency rather than emergency incident response because active exploitation is not evidenced.

Technical view

Switching from basic to advanced and back to basic framing does not reset gsm->state and gsm->len. Continued input can make gsm0_receive() write beyond gsm->buf. The fix tightens the count-versus-length check and adds MAX_MRU bounds in gsm0_receive() and gsm1_receive(). CVSS 3.1 is 7.8: local, low-complexity, low-privilege, no-interaction exploitation with high potential impact.

Likely exposure

Exposure is limited to Linux systems where the n_gsm TTY line discipline is present and configurable. The CVSS vector requires local access and low privileges. The described trigger also depends on crafted frame input and switching between basic and advanced modes. Confirm exact distribution package status with the relevant vendor.

Exploitation context

The bundle marks KEV false, and no supplied source establishes active exploitation. The required local access and n_gsm-specific conditions reduce broad remote exposure, but successful kernel memory corruption could produce serious system compromise or disruption. Public proof-of-concept availability is not established by the supplied evidence.

Researcher notes

The correction addresses stale parser state across mode reconfiguration and adds independent MAX_MRU safety bounds. The supplied affected-version data is not clear enough for reliable version-only classification, particularly across backported distribution kernels. Validate using vendor package advisories, changelogs, or fix-commit presence. The bundle identifies CWE-125, while its technical description explicitly includes an out-of-bounds write.

Mitigation direction

  • Install a vendor-supported kernel update containing the CVE-2024-36016 fix, then reboot into the updated kernel.
  • Confirm vendor advisories for each kernel branch; do not infer patch status solely from the displayed version.
  • Prioritize systems where n_gsm is deployed or accessible to low-privileged local users.
  • If patching is delayed, seek vendor-approved exposure-reduction guidance; the supplied sources name no standalone workaround.

Validation and detection

  • Record the running kernel version and distribution package release on every potentially exposed Linux system.
  • Determine whether n_gsm is present, deployed, or available to low-privileged local users.
  • Verify the installed package includes the relevant upstream fix or an equivalent vendor backport.
  • After rebooting, confirm the running kernel matches the patched package.
Prepared
Confidence
medium
Sources
12

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-125: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2024-36016 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
7.8 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

2CVSS vectors
3Timeline events
2ADP providers
11Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: partial

CVSS vector scores

2 official scores

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
7.8CVSS 3.1HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H1.85.9Linux
7.7CVSS 3.1HighCVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H2.55.2CISA-ADP

Vulnerability scoring details

Base CVSS 3.1 score

7.8High
CVSS 3.1 vector shape for CVE-2024-36016Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. CVE publishedCVE Program

    The CVE record was published.

  3. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
cvssV3_1other:ssvc
CVECVE Program Container
Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
LinuxLinuxe1eaea46bb4020b38a141b84f88565d4603f8dd0, e1eaea46bb4020b38a141b84f88565d4603f8dd0, e1eaea46bb4020b38a141b84f88565d4603f8dd0, e1eaea46bb4020b38a141b84f88565d4603f8dd0, e1eaea46bb4020b38a141b84f88565d4603f8dd0, e1eaea46bb4020b38a141b84f88565d4603f8dd0, e1eaea46bb4020b38a141b84f88565d4603f8dd0, e1eaea46bb4020b38a141b84f88565d4603f8dd0, e1eaea46bb4020b38a141b84f88565d4603f8dd0unaffected
LinuxLinux2.6.35, 0, 4.19.316, 5.4.278, 5.10.219, 5.15.161, 6.1.93, 6.6.33, 6.8.12, 6.9.3, 6.10affected
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-125 · source CWE mapping

Out-of-bounds Read

Out-of-bounds Read represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.