Skip to content
Heist/ feed
Unrated

Bluetooth: RFCOMM: Fix not validating setsockopt user input

Type: advisorySource: Official CVE List1 source record

In the Linux kernel, the following vulnerability has been resolved: Bluetooth: RFCOMM: Fix not validating setsockopt user input syzbot reported rfcomm_sock_setsockopt_old() is copying data without checking user input length. BUG: KASAN: slab-out-of-bounds in copy_from_sockptr_offset include/linux/sockptr.h:49 [inline] BUG: KASAN: slab-out-of-bounds in copy_from_sockptr include/linux/sockptr.h:55 [inline] BUG: KASAN: slab-out-of-bounds in rfcomm_sock_setsockopt_old net/bluetooth/rfcomm/sock.c:632 [inline] BUG: KASAN: slab-out-of-bounds in rfcomm_sock_setsockopt+0x893/0xa70 net/bluetooth/rfcomm/sock.c:673 Read of size 4 at addr ffff8880209a8bc3 by task syz-executor632/5064

Announced Group revision 1
Original source ↗

CVE-2024-35966

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: cve:CVE-2024-35966

Linux

Source reference: /containers/cna/affected/0/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Linux

Source reference: /containers/cna/affected/1/product

Affected versions
Not stated in this record
Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "bb23c0ab824653be4aa7dfca15b07b3059717004",
        "lessThan": "d072ea24748189cd8f4a9c3f585ca9af073a0838",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "bb23c0ab824653be4aa7dfca15b07b3059717004",
        "lessThan": "00767fbd67af70d7a550caa5b12d9515fa978bab",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "bb23c0ab824653be4aa7dfca15b07b3059717004",
        "lessThan": "eea40d33bf936a5c7fb03c190e61e0cfee00e872",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "bb23c0ab824653be4aa7dfca15b07b3059717004",
        "lessThan": "4ea65e2095e9bd151d0469328dd7fc2858feb546",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "bb23c0ab824653be4aa7dfca15b07b3059717004",
        "lessThan": "c3f787a3eafe519c93df9abbb0ca5145861c8d0f",
        "versionType": "git"
      },
      {
        "status": "affected",
        "version": "bb23c0ab824653be4aa7dfca15b07b3059717004",
        "lessThan": "a97de7bff13b1cc825c1b1344eaed8d6c2d3e695",
        "versionType": "git"
      }
    ],
    "programFiles": [
      "net/bluetooth/rfcomm/sock.c"
    ],
    "defaultStatus": "unaffected"
  },
  {
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "vendor": "Linux",
    "product": "Linux",
    "versions": [
      {
        "status": "affected",
        "version": "2.6.30"
      },
      {
        "status": "unaffected",
        "version": "0",
        "lessThan": "2.6.30",
        "versionType": "semver"
      },
      {
        "status": "unaffected",
        "version": "5.10.234",
        "versionType": "semver",
        "lessThanOrEqual": "5.10.*"
      },
      {
        "status": "unaffected",
        "version": "5.15.178",
        "versionType": "semver",
        "lessThanOrEqual": "5.15.*"
      },
      {
        "status": "unaffected",
        "version": "6.1.107",
        "versionType": "semver",
        "lessThanOrEqual": "6.1.*"
      },
      {
        "status": "unaffected",
        "version": "6.6.47",
        "versionType": "semver",
        "lessThanOrEqual": "6.6.*"
      },
      {
        "status": "unaffected",
        "version": "6.8.7",
        "versionType": "semver",
        "lessThanOrEqual": "6.8.*"
      },
      {
        "status": "unaffected",
        "version": "6.9",
        "versionType": "original_commit_for_fix",
        "lessThanOrEqual": "*"
      }
    ],
    "programFiles": [
      "net/bluetooth/rfcomm/sock.c"
    ],
    "defaultStatus": "affected"
  }
]
Related CVEs
CVE-2024-35966

Source reference: /cveMetadata/cveId

Publisher severity

No explicit severity was provided.

Event
#26559 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement