{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-36476","id":"CVE-2024-36476","title":"RDMA/rtrs: Ensure 'ib_sge list' is accessible","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/rtrs: Ensure 'ib_sge list' is accessible\n\nMove the declaration of the 'ib_sge list' variable outside the\n'always_invalidate' block to ensure it remains accessible for use\nthroughout the function.\n\nPreviously, 'ib_sge list' was declared within the 'always_invalidate'\nblock, limiting its accessibility, then caused a\n'BUG: kern","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/rtrs: Ensure 'ib_sge list' is accessible\n\nMove the declaration of the 'ib_sge list' variable outside the\n'always_invalidate' block to ensure it remains accessible for use\nthroughout the function.\n\nPreviously, 'ib_sge list' was declared within the 'always_invalidate'\nblock, limiting its accessibility, then caused a\n'BUG: kernel NULL pointer dereference'[1].\n ? __die_body.cold+0x19/0x27\n ? page_fault_oops+0x15a/0x2d0\n ? search_module_extables+0x19/0x60\n ? search_bpf_extables+0x5f/0x80\n ? exc_page_fault+0x7e/0x180\n ? asm_exc_page_fault+0x26/0x30\n ? memcpy_orig+0xd5/0x140\n rxe_mr_copy+0x1c3/0x200 [rdma_rxe]\n ? rxe_pool_get_index+0x4b/0x80 [rdma_rxe]\n copy_data+0xa5/0x230 [rdma_rxe]\n rxe_requester+0xd9b/0xf70 [rdma_rxe]\n ? finish_task_switch.isra.0+0x99/0x2e0\n rxe_sender+0x13/0x40 [rdma_rxe]\n do_task+0x68/0x1e0 [rdma_rxe]\n process_one_work+0x177/0x330\n worker_thread+0x252/0x390\n ? __pfx_worker_thread+0x10/0x10\n\nThis change ensures the variable is available for subsequent operations\nthat require it.\n\n[1] https://lore.kernel.org/linux-rdma/6a1f3e8f-deb0-49f9-bc69-a9b03ecfcda7@fujitsu.com/","published":"2025-01-15T13:10:20.507Z","updated":"2026-10-28T02:31:09.631783884Z","reserved":"2025-01-15T13:08:59.730Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"Linux"},"metrics":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"Linux"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"CISA-ADP"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"OSV"}],"rating":"critical","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"9cb837480424e78ed585376f944088246685aec3","lessThan":"7eaa71f56a6f7ab87957213472dc6d4055862722","status":"affected","versionType":"git"},{"version":"9cb837480424e78ed585376f944088246685aec3","lessThan":"143378075904e78b3b2a810099bcc3b3d82d762f","status":"affected","versionType":"git"},{"version":"9cb837480424e78ed585376f944088246685aec3","lessThan":"32e1e748a85bd52b20b3857d80fd166d22fa455a","status":"affected","versionType":"git"},{"version":"9cb837480424e78ed585376f944088246685aec3","lessThan":"b238f61cc394d5fef27b26d7d9aa383ebfddabb0","status":"affected","versionType":"git"},{"version":"9cb837480424e78ed585376f944088246685aec3","lessThan":"6ffb5c1885195ae5211a12b4acd2d51843ca41b0","status":"affected","versionType":"git"},{"version":"9cb837480424e78ed585376f944088246685aec3","lessThan":"fb514b31395946022f13a08e06a435f53cf9e8b3","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.8","status":"affected"},{"version":"0","lessThan":"5.8","status":"unaffected","versionType":"semver"},{"version":"5.10.233","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.176","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"6.1.124","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.70","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.9","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.13","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-476"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/7eaa71f56a6f7ab87957213472dc6d4055862722","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/143378075904e78b3b2a810099bcc3b3d82d762f","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/32e1e748a85bd52b20b3857d80fd166d22fa455a","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/b238f61cc394d5fef27b26d7d9aa383ebfddabb0","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/6ffb5c1885195ae5211a12b4acd2d51843ca41b0","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/fb514b31395946022f13a08e06a435f53cf9e8b3","tags":["Patch","web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html","tags":["web"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/36xxx/CVE-2024-36476.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-36476","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00646,"epssPercentile":0.51757,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-36476","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-36476","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-36476","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-36476","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}