cve-2024-35967
Vulnerability from cvelistv5
Published
2024-05-20 09:41
Modified
2025-02-02 10:14
Severity ?
Summary
In the Linux kernel, the following vulnerability has been resolved: Bluetooth: SCO: Fix not validating setsockopt user input syzbot reported sco_sock_setsockopt() 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 sco_sock_setsockopt+0xc0b/0xf90 net/bluetooth/sco.c:893 Read of size 4 at addr ffff88805f7b15a3 by task syz-executor.5/12578
Impacted products
Vendor Product Version
Linux Linux Version: b96e9c671b05f95126753a22145d4509d45ca197
Version: b96e9c671b05f95126753a22145d4509d45ca197
Version: b96e9c671b05f95126753a22145d4509d45ca197
Version: b96e9c671b05f95126753a22145d4509d45ca197
Version: b96e9c671b05f95126753a22145d4509d45ca197
Version: b96e9c671b05f95126753a22145d4509d45ca197
Create a notification for this product.
   Linux Linux Version: 3.8
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2024-35967",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2024-05-20T17:01:27.722344Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2024-06-04T17:33:26.743Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      },
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-02T03:21:49.126Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/b0e30c37695b614bee69187f86eaf250e36606ce"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/7bc65d23ba20dcd7ecc094a12c181e594e5eb315"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/72473db90900da970a16ee50ad23c2c38d107d8c"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/419a0ffca7010216f0fc265b08558d7394fa0ba7"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/51eda36d33e43201e7a4fd35232e069b2c850b01"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "include/net/bluetooth/bluetooth.h",
            "net/bluetooth/sco.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "b0e30c37695b614bee69187f86eaf250e36606ce",
              "status": "affected",
              "version": "b96e9c671b05f95126753a22145d4509d45ca197",
              "versionType": "git"
            },
            {
              "lessThan": "2c2dc87cdebef3fe3b9d7a711a984c70e376e32e",
              "status": "affected",
              "version": "b96e9c671b05f95126753a22145d4509d45ca197",
              "versionType": "git"
            },
            {
              "lessThan": "7bc65d23ba20dcd7ecc094a12c181e594e5eb315",
              "status": "affected",
              "version": "b96e9c671b05f95126753a22145d4509d45ca197",
              "versionType": "git"
            },
            {
              "lessThan": "72473db90900da970a16ee50ad23c2c38d107d8c",
              "status": "affected",
              "version": "b96e9c671b05f95126753a22145d4509d45ca197",
              "versionType": "git"
            },
            {
              "lessThan": "419a0ffca7010216f0fc265b08558d7394fa0ba7",
              "status": "affected",
              "version": "b96e9c671b05f95126753a22145d4509d45ca197",
              "versionType": "git"
            },
            {
              "lessThan": "51eda36d33e43201e7a4fd35232e069b2c850b01",
              "status": "affected",
              "version": "b96e9c671b05f95126753a22145d4509d45ca197",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "include/net/bluetooth/bluetooth.h",
            "net/bluetooth/sco.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "3.8"
            },
            {
              "lessThan": "3.8",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.216",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.178",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.87",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.28",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.8.*",
              "status": "unaffected",
              "version": "6.8.7",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.9",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nBluetooth: SCO: Fix not validating setsockopt user input\n\nsyzbot reported sco_sock_setsockopt() is copying data without\nchecking user input length.\n\nBUG: KASAN: slab-out-of-bounds in copy_from_sockptr_offset\ninclude/linux/sockptr.h:49 [inline]\nBUG: KASAN: slab-out-of-bounds in copy_from_sockptr\ninclude/linux/sockptr.h:55 [inline]\nBUG: KASAN: slab-out-of-bounds in sco_sock_setsockopt+0xc0b/0xf90\nnet/bluetooth/sco.c:893\nRead of size 4 at addr ffff88805f7b15a3 by task syz-executor.5/12578"
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-02-02T10:14:33.271Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/b0e30c37695b614bee69187f86eaf250e36606ce"
        },
        {
          "url": "https://git.kernel.org/stable/c/2c2dc87cdebef3fe3b9d7a711a984c70e376e32e"
        },
        {
          "url": "https://git.kernel.org/stable/c/7bc65d23ba20dcd7ecc094a12c181e594e5eb315"
        },
        {
          "url": "https://git.kernel.org/stable/c/72473db90900da970a16ee50ad23c2c38d107d8c"
        },
        {
          "url": "https://git.kernel.org/stable/c/419a0ffca7010216f0fc265b08558d7394fa0ba7"
        },
        {
          "url": "https://git.kernel.org/stable/c/51eda36d33e43201e7a4fd35232e069b2c850b01"
        }
      ],
      "title": "Bluetooth: SCO: Fix not validating setsockopt user input",
      "x_generator": {
        "engine": "bippy-5f407fcff5a0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2024-35967",
    "datePublished": "2024-05-20T09:41:56.503Z",
    "dateReserved": "2024-05-17T13:50:33.140Z",
    "dateUpdated": "2025-02-02T10:14:33.271Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2024-35967\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2024-05-20T10:15:11.647\",\"lastModified\":\"2025-02-02T11:15:08.777\",\"vulnStatus\":\"Awaiting Analysis\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nBluetooth: SCO: Fix not validating setsockopt user input\\n\\nsyzbot reported sco_sock_setsockopt() is copying data without\\nchecking user input length.\\n\\nBUG: KASAN: slab-out-of-bounds in copy_from_sockptr_offset\\ninclude/linux/sockptr.h:49 [inline]\\nBUG: KASAN: slab-out-of-bounds in copy_from_sockptr\\ninclude/linux/sockptr.h:55 [inline]\\nBUG: KASAN: slab-out-of-bounds in sco_sock_setsockopt+0xc0b/0xf90\\nnet/bluetooth/sco.c:893\\nRead of size 4 at addr ffff88805f7b15a3 by task syz-executor.5/12578\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se resolvi\u00f3 la siguiente vulnerabilidad: Bluetooth: SCO: la soluci\u00f3n no valida la entrada del usuario de setsockopt. syzbot inform\u00f3 que sco_sock_setsockopt() est\u00e1 copiando datos sin verificar la longitud de la entrada del usuario. BUG: KASAN: slab fuera de los l\u00edmites en copy_from_sockptr_offset include/linux/sockptr.h:49 [en l\u00ednea] BUG: KASAN: slab fuera de los l\u00edmites en copy_from_sockptr include/linux/sockptr.h:55 [en l\u00ednea] BUG: KASAN: slab fuera de los l\u00edmites en sco_sock_setsockopt+0xc0b/0xf90 net/bluetooth/sco.c:893 Lectura de tama\u00f1o 4 en la direcci\u00f3n ffff88805f7b15a3 mediante la tarea syz-executor.5/12578\"}],\"metrics\":{},\"references\":[{\"url\":\"https://git.kernel.org/stable/c/2c2dc87cdebef3fe3b9d7a711a984c70e376e32e\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/419a0ffca7010216f0fc265b08558d7394fa0ba7\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/51eda36d33e43201e7a4fd35232e069b2c850b01\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/72473db90900da970a16ee50ad23c2c38d107d8c\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/7bc65d23ba20dcd7ecc094a12c181e594e5eb315\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/b0e30c37695b614bee69187f86eaf250e36606ce\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/419a0ffca7010216f0fc265b08558d7394fa0ba7\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/51eda36d33e43201e7a4fd35232e069b2c850b01\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/72473db90900da970a16ee50ad23c2c38d107d8c\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/7bc65d23ba20dcd7ecc094a12c181e594e5eb315\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://git.kernel.org/stable/c/b0e30c37695b614bee69187f86eaf250e36606ce\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"url\":\"https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"}]}}",
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CVE Program Container\", \"references\": [{\"url\": \"https://git.kernel.org/stable/c/b0e30c37695b614bee69187f86eaf250e36606ce\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/7bc65d23ba20dcd7ecc094a12c181e594e5eb315\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/72473db90900da970a16ee50ad23c2c38d107d8c\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/419a0ffca7010216f0fc265b08558d7394fa0ba7\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/51eda36d33e43201e7a4fd35232e069b2c850b01\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html\", \"tags\": [\"x_transferred\"]}], \"providerMetadata\": {\"orgId\": \"af854a3a-2127-422b-91ae-364da2661108\", \"shortName\": \"CVE\", \"dateUpdated\": \"2024-08-02T03:21:49.126Z\"}}, {\"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2024-35967\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-05-20T17:01:27.722344Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-05-23T19:01:24.992Z\"}, \"title\": \"CISA ADP Vulnrichment\"}], \"cna\": {\"title\": \"Bluetooth: SCO: Fix not validating setsockopt user input\", \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"b96e9c671b05f95126753a22145d4509d45ca197\", \"lessThan\": \"b0e30c37695b614bee69187f86eaf250e36606ce\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"b96e9c671b05f95126753a22145d4509d45ca197\", \"lessThan\": \"2c2dc87cdebef3fe3b9d7a711a984c70e376e32e\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"b96e9c671b05f95126753a22145d4509d45ca197\", \"lessThan\": \"7bc65d23ba20dcd7ecc094a12c181e594e5eb315\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"b96e9c671b05f95126753a22145d4509d45ca197\", \"lessThan\": \"72473db90900da970a16ee50ad23c2c38d107d8c\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"b96e9c671b05f95126753a22145d4509d45ca197\", \"lessThan\": \"419a0ffca7010216f0fc265b08558d7394fa0ba7\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"b96e9c671b05f95126753a22145d4509d45ca197\", \"lessThan\": \"51eda36d33e43201e7a4fd35232e069b2c850b01\", \"versionType\": \"git\"}], \"programFiles\": [\"include/net/bluetooth/bluetooth.h\", \"net/bluetooth/sco.c\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"3.8\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"3.8\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"5.10.216\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.10.*\"}, {\"status\": \"unaffected\", \"version\": \"5.15.178\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.15.*\"}, {\"status\": \"unaffected\", \"version\": \"6.1.87\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.1.*\"}, {\"status\": \"unaffected\", \"version\": \"6.6.28\", \"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\": [\"include/net/bluetooth/bluetooth.h\", \"net/bluetooth/sco.c\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/b0e30c37695b614bee69187f86eaf250e36606ce\"}, {\"url\": \"https://git.kernel.org/stable/c/2c2dc87cdebef3fe3b9d7a711a984c70e376e32e\"}, {\"url\": \"https://git.kernel.org/stable/c/7bc65d23ba20dcd7ecc094a12c181e594e5eb315\"}, {\"url\": \"https://git.kernel.org/stable/c/72473db90900da970a16ee50ad23c2c38d107d8c\"}, {\"url\": \"https://git.kernel.org/stable/c/419a0ffca7010216f0fc265b08558d7394fa0ba7\"}, {\"url\": \"https://git.kernel.org/stable/c/51eda36d33e43201e7a4fd35232e069b2c850b01\"}], \"x_generator\": {\"engine\": \"bippy-5f407fcff5a0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\nBluetooth: SCO: Fix not validating setsockopt user input\\n\\nsyzbot reported sco_sock_setsockopt() is copying data without\\nchecking user input length.\\n\\nBUG: KASAN: slab-out-of-bounds in copy_from_sockptr_offset\\ninclude/linux/sockptr.h:49 [inline]\\nBUG: KASAN: slab-out-of-bounds in copy_from_sockptr\\ninclude/linux/sockptr.h:55 [inline]\\nBUG: KASAN: slab-out-of-bounds in sco_sock_setsockopt+0xc0b/0xf90\\nnet/bluetooth/sco.c:893\\nRead of size 4 at addr ffff88805f7b15a3 by task syz-executor.5/12578\"}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2025-02-02T10:14:33.271Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2024-35967\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2025-02-02T10:14:33.271Z\", \"dateReserved\": \"2024-05-17T13:50:33.140Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2024-05-20T09:41:56.503Z\", \"assignerShortName\": \"Linux\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.1"
    }
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.