{"id":"CVE-2024-35903","summary":"x86/bpf: Fix IP after emitting call depth accounting","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nx86/bpf: Fix IP after emitting call depth accounting\n\nAdjust the IP passed to `emit_patch` so it calculates the correct offset\nfor the CALL instruction if `x86_call_depth_emit_accounting` emits code.\nOtherwise we will skip some instructions and most likely crash.","modified":"2026-03-20T12:36:44.157487Z","published":"2024-05-19T08:34:56.564Z","related":["SUSE-SU-2024:2135-1","SUSE-SU-2024:2203-1","SUSE-SU-2024:2973-1","SUSE-SU-2025:20008-1","SUSE-SU-2025:20028-1"],"database_specific":{"cna_assigner":"Linux","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35903.json"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/3f9d57c771656bfd651e22edcfdb5f60e62542d4"},{"type":"WEB","url":"https://git.kernel.org/stable/c/81166178cf0a0062a22b1b3b5368183d39577028"},{"type":"WEB","url":"https://git.kernel.org/stable/c/9d98aa088386aee3db1b7b60b800c0fde0654a4a"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35903.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-35903"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"b2e9dfe54be4d023124d588d6f03d16a9c0d2507"},{"fixed":"3f9d57c771656bfd651e22edcfdb5f60e62542d4"},{"fixed":"81166178cf0a0062a22b1b3b5368183d39577028"},{"fixed":"9d98aa088386aee3db1b7b60b800c0fde0654a4a"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-35903.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}