CVE-2024-35905 (GCVE-0-2024-35905)
Vulnerability from cvelistv5
Published
2024-05-19 08:34
Modified
2026-08-05 11:30
Summary
In the Linux kernel, the following vulnerability has been resolved: bpf: Protect against int overflow for stack access size This patch re-introduces protection against the size of access to stack memory being negative; the access size can appear negative as a result of overflowing its signed int representation. This should not actually happen, as there are other protections along the way, but we should protect against it anyway. One code path was missing such protections (fixed in the previous patch in the series), causing out-of-bounds array accesses in check_stack_range_initialized(). This patch causes the verification of a program with such a non-sensical access size to fail. This check used to exist in a more indirect way, but was inadvertendly removed in a833a17aeac7.
Impacted products
Vendor Product Version
Linux Linux Version: afea95d319ccb4ad2060dece9ac5e2e364dec543
Version: 02962684258eb53f414a8a59854767be526e6abb
Version: b1d4d54d32ce6342f5faffe71bae736540ce7cb5
Version: 08b91babccbb168353f8d43fea0ed28a4cad568c
Version: a833a17aeac73b33f79433d7cee68d5cafd71e4f
Version: a833a17aeac73b33f79433d7cee68d5cafd71e4f
Version: 1858b8a331937f3976d8482cd5f6e1f945294ad3
Version: 5.10.209   
Version: 5.15.148   
Version: 6.1.75   
Version: 6.6.14   
Version: 6.7.2   
Create a notification for this product.
Show details on NVD website


{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2024-35905",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2024-05-21T15:34:20.280116Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2024-06-04T17:34:52.056Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      },
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-02T03:21:49.025Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/9970e059af471478455f9534e8c3db82f8c5496d"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/37dc1718dc0c4392dbfcb9adec22a776e745dd69"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/98cdac206b112bec63852e94802791e316acc2c1"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/3f0784b2f1eb9147973d8c43ba085c5fdf44ff69"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/203a68151e8eeb331d4a64ab78303f3a15faf103"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/ecc6a2101840177e57c925c102d2d29f260d37c8"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html"
          }
        ],
        "title": "CVE Program Container"
      },
      {
        "affected": [
          {
            "defaultStatus": "unknown",
            "product": "SIMATIC S7-1500 TM MFP - GNU/Linux subsystem",
            "vendor": "Siemens",
            "versions": [
              {
                "lessThan": "*",
                "status": "affected",
                "version": "0",
                "versionType": "custom"
              }
            ]
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-05-12T11:52:38.972Z",
          "orgId": "0b142b55-0307-4c5a-b3c9-f314f3fb7c5e",
          "shortName": "siemens-SADP"
        },
        "references": [
          {
            "url": "https://cert-portal.siemens.com/productcert/html/ssa-265688.html"
          }
        ],
        "x_adpType": "supplier"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "kernel/bpf/verifier.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "9970e059af471478455f9534e8c3db82f8c5496d",
              "status": "affected",
              "version": "afea95d319ccb4ad2060dece9ac5e2e364dec543",
              "versionType": "git"
            },
            {
              "lessThan": "37dc1718dc0c4392dbfcb9adec22a776e745dd69",
              "status": "affected",
              "version": "02962684258eb53f414a8a59854767be526e6abb",
              "versionType": "git"
            },
            {
              "lessThan": "98cdac206b112bec63852e94802791e316acc2c1",
              "status": "affected",
              "version": "b1d4d54d32ce6342f5faffe71bae736540ce7cb5",
              "versionType": "git"
            },
            {
              "lessThan": "3f0784b2f1eb9147973d8c43ba085c5fdf44ff69",
              "status": "affected",
              "version": "08b91babccbb168353f8d43fea0ed28a4cad568c",
              "versionType": "git"
            },
            {
              "lessThan": "203a68151e8eeb331d4a64ab78303f3a15faf103",
              "status": "affected",
              "version": "a833a17aeac73b33f79433d7cee68d5cafd71e4f",
              "versionType": "git"
            },
            {
              "lessThan": "ecc6a2101840177e57c925c102d2d29f260d37c8",
              "status": "affected",
              "version": "a833a17aeac73b33f79433d7cee68d5cafd71e4f",
              "versionType": "git"
            },
            {
              "status": "affected",
              "version": "1858b8a331937f3976d8482cd5f6e1f945294ad3",
              "versionType": "git"
            },
            {
              "lessThan": "5.10.215",
              "status": "affected",
              "version": "5.10.209",
              "versionType": "semver"
            },
            {
              "lessThan": "5.15.154",
              "status": "affected",
              "version": "5.15.148",
              "versionType": "semver"
            },
            {
              "lessThan": "6.1.85",
              "status": "affected",
              "version": "6.1.75",
              "versionType": "semver"
            },
            {
              "lessThan": "6.6.26",
              "status": "affected",
              "version": "6.6.14",
              "versionType": "semver"
            },
            {
              "lessThan": "6.8",
              "status": "affected",
              "version": "6.7.2",
              "versionType": "semver"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "kernel/bpf/verifier.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "6.8"
            },
            {
              "lessThan": "6.8",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.10.*",
              "status": "unaffected",
              "version": "5.10.215",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.154",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.85",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.26",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.8.*",
              "status": "unaffected",
              "version": "6.8.5",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.9",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.10.215",
                  "versionStartIncluding": "5.10.209",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.154",
                  "versionStartIncluding": "5.15.148",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.85",
                  "versionStartIncluding": "6.1.75",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.26",
                  "versionStartIncluding": "6.6.14",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.8.5",
                  "versionStartIncluding": "6.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.9",
                  "versionStartIncluding": "6.8",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionStartIncluding": "6.7.2",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Protect against int overflow for stack access size\n\nThis patch re-introduces protection against the size of access to stack\nmemory being negative; the access size can appear negative as a result\nof overflowing its signed int representation. This should not actually\nhappen, as there are other protections along the way, but we should\nprotect against it anyway. One code path was missing such protections\n(fixed in the previous patch in the series), causing out-of-bounds array\naccesses in check_stack_range_initialized(). This patch causes the\nverification of a program with such a non-sensical access size to fail.\n\nThis check used to exist in a more indirect way, but was inadvertendly\nremoved in a833a17aeac7."
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "vectorString": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
            "version": "3.1"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "AV:L - The vulnerability is reached through the bpf(2) syscall \u2014 BPF_MAP_CREATE for an oversized bloom-filter map followed by BPF_PROG_LOAD \u2014 which requires local access to the system. There is no remote or adjacent-network path into the BPF verifier.\nAC:L - The attacker fully controls both inputs that produce the overflow: the map\u0027s value_size (0x80000000 \u2192 INT_MIN) and the stack offset of the helper argument, making the out-of-bounds walk deterministic on every attempt with no race or unpredictable precondition.\nPR:L - Creating the BLOOM_FILTER map needs CAP_BPF, but that is a narrow delegated capability \u2014 not root \u2014 that is commonly granted to unprivileged observability/networking service accounts and containers, and the same map_create path supports BPF-token delegation into a user namespace; program load and the bpf_map_push_elem helper themselves need no extra privilege.\nUI:N - The entire sequence is performed by the attacker\u0027s own process via bpf(2); no action by any other user or administrator is needed.\nS:U - The out-of-bounds accesses corrupt kernel heap memory belonging to the verifier itself; impact stays within the kernel\u0027s security authority with no crossing of a VM, IOMMU, or sandbox boundary.\nC:H - The loop performs unbounded out-of-bounds reads walking downward through the kernel heap below state-\u003estack[], and the values read (including spilled_ptr.parent pointers) steer subsequent dereferences, giving an attacker-groomable kernel memory disclosure primitive.\nI:H - With clobber set, the verifier writes STACK_MISC bytes out of bounds, calls __mark_reg_unknown() to write a whole bpf_reg_state past the array, and mark_reg_read() does parent-\u003elive |= flag through a pointer read from out-of-bounds heap \u2014 a controllable write primitive suitable for privilege escalation via heap grooming.\nA:H - Even without successful exploitation the ~2-billion-iteration loop walks off the allocation and dereferences unmapped memory, producing a kernel oops/panic (this is exactly what syzkaller reported), and can be triggered repeatedly."
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-05T11:30:53.160Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/9970e059af471478455f9534e8c3db82f8c5496d"
        },
        {
          "url": "https://git.kernel.org/stable/c/37dc1718dc0c4392dbfcb9adec22a776e745dd69"
        },
        {
          "url": "https://git.kernel.org/stable/c/98cdac206b112bec63852e94802791e316acc2c1"
        },
        {
          "url": "https://git.kernel.org/stable/c/3f0784b2f1eb9147973d8c43ba085c5fdf44ff69"
        },
        {
          "url": "https://git.kernel.org/stable/c/203a68151e8eeb331d4a64ab78303f3a15faf103"
        },
        {
          "url": "https://git.kernel.org/stable/c/ecc6a2101840177e57c925c102d2d29f260d37c8"
        }
      ],
      "title": "bpf: Protect against int overflow for stack access size",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2024-35905",
    "datePublished": "2024-05-19T08:34:58.347Z",
    "dateReserved": "2024-05-17T13:50:33.120Z",
    "dateUpdated": "2026-08-05T11:30:53.160Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CVE Program Container\", \"references\": [{\"url\": \"https://git.kernel.org/stable/c/9970e059af471478455f9534e8c3db82f8c5496d\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/37dc1718dc0c4392dbfcb9adec22a776e745dd69\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/98cdac206b112bec63852e94802791e316acc2c1\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/3f0784b2f1eb9147973d8c43ba085c5fdf44ff69\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/203a68151e8eeb331d4a64ab78303f3a15faf103\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/ecc6a2101840177e57c925c102d2d29f260d37c8\", \"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.025Z\"}}, {\"affected\": [{\"vendor\": \"Siemens\", \"product\": \"SIMATIC S7-1500 TM MFP - GNU/Linux subsystem\", \"versions\": [{\"status\": \"affected\", \"version\": \"0\", \"lessThan\": \"*\", \"versionType\": \"custom\"}], \"defaultStatus\": \"unknown\"}], \"x_adpType\": \"supplier\", \"references\": [{\"url\": \"https://cert-portal.siemens.com/productcert/html/ssa-265688.html\"}], \"providerMetadata\": {\"orgId\": \"0b142b55-0307-4c5a-b3c9-f314f3fb7c5e\", \"shortName\": \"siemens-SADP\", \"dateUpdated\": \"2026-05-12T11:52:38.972Z\"}}, {\"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2024-35905\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-05-21T15:34:20.280116Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-05-23T19:01:25.172Z\"}, \"title\": \"CISA ADP Vulnrichment\"}], \"cna\": {\"title\": \"bpf: Protect against int overflow for stack access size\", \"metrics\": [{\"cvssV3_1\": {\"version\": \"3.1\", \"baseScore\": 7.8, \"baseSeverity\": \"HIGH\", \"vectorString\": \"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H\"}, \"scenarios\": [{\"lang\": \"en\", \"value\": \"AV:L - The vulnerability is reached through the bpf(2) syscall \\u2014 BPF_MAP_CREATE for an oversized bloom-filter map followed by BPF_PROG_LOAD \\u2014 which requires local access to the system. There is no remote or adjacent-network path into the BPF verifier.\\nAC:L - The attacker fully controls both inputs that produce the overflow: the map\u0027s value_size (0x80000000 \\u2192 INT_MIN) and the stack offset of the helper argument, making the out-of-bounds walk deterministic on every attempt with no race or unpredictable precondition.\\nPR:L - Creating the BLOOM_FILTER map needs CAP_BPF, but that is a narrow delegated capability \\u2014 not root \\u2014 that is commonly granted to unprivileged observability/networking service accounts and containers, and the same map_create path supports BPF-token delegation into a user namespace; program load and the bpf_map_push_elem helper themselves need no extra privilege.\\nUI:N - The entire sequence is performed by the attacker\u0027s own process via bpf(2); no action by any other user or administrator is needed.\\nS:U - The out-of-bounds accesses corrupt kernel heap memory belonging to the verifier itself; impact stays within the kernel\u0027s security authority with no crossing of a VM, IOMMU, or sandbox boundary.\\nC:H - The loop performs unbounded out-of-bounds reads walking downward through the kernel heap below state-\u003estack[], and the values read (including spilled_ptr.parent pointers) steer subsequent dereferences, giving an attacker-groomable kernel memory disclosure primitive.\\nI:H - With clobber set, the verifier writes STACK_MISC bytes out of bounds, calls __mark_reg_unknown() to write a whole bpf_reg_state past the array, and mark_reg_read() does parent-\u003elive |= flag through a pointer read from out-of-bounds heap \\u2014 a controllable write primitive suitable for privilege escalation via heap grooming.\\nA:H - Even without successful exploitation the ~2-billion-iteration loop walks off the allocation and dereferences unmapped memory, producing a kernel oops/panic (this is exactly what syzkaller reported), and can be triggered repeatedly.\"}]}], \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"afea95d319ccb4ad2060dece9ac5e2e364dec543\", \"lessThan\": \"9970e059af471478455f9534e8c3db82f8c5496d\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"02962684258eb53f414a8a59854767be526e6abb\", \"lessThan\": \"37dc1718dc0c4392dbfcb9adec22a776e745dd69\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"b1d4d54d32ce6342f5faffe71bae736540ce7cb5\", \"lessThan\": \"98cdac206b112bec63852e94802791e316acc2c1\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"08b91babccbb168353f8d43fea0ed28a4cad568c\", \"lessThan\": \"3f0784b2f1eb9147973d8c43ba085c5fdf44ff69\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"a833a17aeac73b33f79433d7cee68d5cafd71e4f\", \"lessThan\": \"203a68151e8eeb331d4a64ab78303f3a15faf103\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"a833a17aeac73b33f79433d7cee68d5cafd71e4f\", \"lessThan\": \"ecc6a2101840177e57c925c102d2d29f260d37c8\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"1858b8a331937f3976d8482cd5f6e1f945294ad3\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"5.10.209\", \"lessThan\": \"5.10.215\", \"versionType\": \"semver\"}, {\"status\": \"affected\", \"version\": \"5.15.148\", \"lessThan\": \"5.15.154\", \"versionType\": \"semver\"}, {\"status\": \"affected\", \"version\": \"6.1.75\", \"lessThan\": \"6.1.85\", \"versionType\": \"semver\"}, {\"status\": \"affected\", \"version\": \"6.6.14\", \"lessThan\": \"6.6.26\", \"versionType\": \"semver\"}, {\"status\": \"affected\", \"version\": \"6.7.2\", \"lessThan\": \"6.8\", \"versionType\": \"semver\"}], \"programFiles\": [\"kernel/bpf/verifier.c\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"6.8\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"6.8\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"5.10.215\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.10.*\"}, {\"status\": \"unaffected\", \"version\": \"5.15.154\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.15.*\"}, {\"status\": \"unaffected\", \"version\": \"6.1.85\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.1.*\"}, {\"status\": \"unaffected\", \"version\": \"6.6.26\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.6.*\"}, {\"status\": \"unaffected\", \"version\": \"6.8.5\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.8.*\"}, {\"status\": \"unaffected\", \"version\": \"6.9\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"kernel/bpf/verifier.c\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/9970e059af471478455f9534e8c3db82f8c5496d\"}, {\"url\": \"https://git.kernel.org/stable/c/37dc1718dc0c4392dbfcb9adec22a776e745dd69\"}, {\"url\": \"https://git.kernel.org/stable/c/98cdac206b112bec63852e94802791e316acc2c1\"}, {\"url\": \"https://git.kernel.org/stable/c/3f0784b2f1eb9147973d8c43ba085c5fdf44ff69\"}, {\"url\": \"https://git.kernel.org/stable/c/203a68151e8eeb331d4a64ab78303f3a15faf103\"}, {\"url\": \"https://git.kernel.org/stable/c/ecc6a2101840177e57c925c102d2d29f260d37c8\"}], \"x_generator\": {\"engine\": \"bippy-1.2.0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\nbpf: Protect against int overflow for stack access size\\n\\nThis patch re-introduces protection against the size of access to stack\\nmemory being negative; the access size can appear negative as a result\\nof overflowing its signed int representation. This should not actually\\nhappen, as there are other protections along the way, but we should\\nprotect against it anyway. One code path was missing such protections\\n(fixed in the previous patch in the series), causing out-of-bounds array\\naccesses in check_stack_range_initialized(). This patch causes the\\nverification of a program with such a non-sensical access size to fail.\\n\\nThis check used to exist in a more indirect way, but was inadvertendly\\nremoved in a833a17aeac7.\"}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.10.215\", \"versionStartIncluding\": \"5.10.209\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.15.154\", \"versionStartIncluding\": \"5.15.148\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.1.85\", \"versionStartIncluding\": \"6.1.75\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.6.26\", \"versionStartIncluding\": \"6.6.14\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.8.5\", \"versionStartIncluding\": \"6.8\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.9\", \"versionStartIncluding\": \"6.8\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionStartIncluding\": \"6.7.2\"}], \"operator\": \"OR\"}]}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2026-08-05T11:30:53.160Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2024-35905\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-08-05T11:30:53.160Z\", \"dateReserved\": \"2024-05-17T13:50:33.120Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2024-05-19T08:34:58.347Z\", \"assignerShortName\": \"Linux\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}


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.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • 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.


Loading…

Loading…