UBUNTU-CVE-2024-36016

Advisory lineage Upstream: 1 Downstream: 19
Published: 29 May 2024, 19:15
Last modified:03 Jun 2026, 13:38

Vulnerability Summary

Overall Risk (default)
medium
31/100
CVSS Score
7.7 HIGH
3.1 (osv_ubuntu)
EPSS Score
No data
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected

Timeline

29 May 2024, 19:15
Published
Vulnerability first disclosed
03 Jun 2026, 13:38
Last Modified
Vulnerability information updated

Description

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.

CVSS Metrics

  • v3.1HIGHScore: 7.7CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

Affected Systems

  • ubuntulinux

    all | < 4.4.0-257.291 | < 4.15.0-227.239 | < 5.4.0-190.210 | < 5.15.0-117.127 | < 6.8.0-39.39

  • ubuntulinux-allwinner-5.19

    all

  • ubuntulinux-aws

    < 4.4.0-1134.140 | < 4.4.0-1172.187 | < 4.15.0-1170.183 | < 5.4.0-1129.139 | < 5.15.0-1066.72 | < 6.8.0-1012.13

  • ubuntulinux-aws-5.0

    all

  • ubuntulinux-aws-5.11

    all

  • ubuntulinux-aws-5.13

    all

  • ubuntulinux-aws-5.15

    < 5.15.0-1066.72~20.04.1

  • ubuntulinux-aws-5.19

    all

  • ubuntulinux-aws-5.3

    all

  • ubuntulinux-aws-5.4

    < 5.4.0-1129.139~18.04.1

  • ubuntulinux-aws-5.8

    all

  • ubuntulinux-aws-6.2

    all

  • ubuntulinux-aws-6.5

    all

  • ubuntulinux-aws-6.8

    < 6.8.0-1013.14~22.04.1

  • ubuntulinux-aws-fips

    < 4.15.0-2109.115 | all | < 5.4.0-1129.139+fips1 | < 5.15.0-1066.72+fips1

  • ubuntulinux-aws-hwe

    < 4.15.0-1170.183~16.04.1

  • ubuntulinux-azure

    < 4.15.0-1179.194~14.04.1 | < 4.15.0-1179.194~16.04.1 | all | < 5.4.0-1134.141 | < 5.15.0-1070.79 | < 6.8.0-1012.14

  • ubuntulinux-azure-4.15

    < 4.15.0-1179.194

  • ubuntulinux-azure-5.11

    all

  • ubuntulinux-azure-5.13

    all

  • ubuntulinux-azure-5.15

    < 5.15.0-1070.79~20.04.1

  • ubuntulinux-azure-5.19

    all

  • ubuntulinux-azure-5.3

    all

  • ubuntulinux-azure-5.4

    < 5.4.0-1134.141~18.04.1

  • ubuntulinux-azure-5.8

    all

  • ubuntulinux-azure-6.2

    all

  • ubuntulinux-azure-6.5

    all

  • ubuntulinux-azure-6.8

    < 6.8.0-1012.14~22.04.1

  • ubuntulinux-azure-edge

    all

  • ubuntulinux-azure-fde

    all | < 5.15.0-1070.79.1

  • ubuntulinux-azure-fde-5.19

    all

  • ubuntulinux-azure-fde-6.2

    all

  • ubuntulinux-azure-fips

    < 4.15.0-2088.94 | all | < 5.4.0-1134.141+fips1 | < 5.15.0-1070.79+fips1

  • ubuntulinux-bluefield

    < 5.15.0-1048.50 | < 5.4.0-1089.96 | < 5.15.0-1048.50 | all

  • ubuntulinux-fips

    < 4.4.0-1103.110 | all | < 4.15.0-1125.136 | < 5.4.0-1103.113 | < 5.15.0-117.127+fips1 | < 6.8.0-78.78+fips1

  • ubuntulinux-gcp

    < 4.15.0-1164.181~16.04.1 | all | < 5.4.0-1133.142 | < 5.15.0-1065.73 | < 6.8.0-1011.12

  • ubuntulinux-gcp-4.15

    < 4.15.0-1164.181

  • ubuntulinux-gcp-5.11

    all

  • ubuntulinux-gcp-5.13

    all

  • ubuntulinux-gcp-5.15

    < 5.15.0-1065.73~20.04.1

  • ubuntulinux-gcp-5.19

    all

  • ubuntulinux-gcp-5.3

    all

  • ubuntulinux-gcp-5.4

    < 5.4.0-1133.142~18.04.1

  • ubuntulinux-gcp-5.8

    all

  • ubuntulinux-gcp-6.2

    all

  • ubuntulinux-gcp-6.5

    all

  • ubuntulinux-gcp-6.8

    < 6.8.0-1011.12~22.04.1

  • ubuntulinux-gcp-fips

    < 4.15.0-2072.77 | all | < 5.4.0-1133.142+fips1 | < 5.15.0-1065.73+fips1

  • ubuntulinux-gke

    all | < 5.15.0-1063.69 | < 6.8.0-1007.10

  • ubuntulinux-gke-4.15

    all

Showing first 50 affected entries in server-rendered view.

References (22)