GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

CVE-2024-38540 (GCVE-0-2024-38540)

Vulnerability from cvelistv5 – Published: 2024-06-19 13:35 – Updated: 2026-05-11 20:18
VLAI
Title
bnxt_re: avoid shift undefined behavior in bnxt_qplib_alloc_init_hwq
Summary
In the Linux kernel, the following vulnerability has been resolved: bnxt_re: avoid shift undefined behavior in bnxt_qplib_alloc_init_hwq Undefined behavior is triggered when bnxt_qplib_alloc_init_hwq is called with hwq_attr->aux_depth != 0 and hwq_attr->aux_stride == 0. In that case, "roundup_pow_of_two(hwq_attr->aux_stride)" gets called. roundup_pow_of_two is documented as undefined for 0. Fix it in the one caller that had this combination. The undefined behavior was detected by UBSAN: UBSAN: shift-out-of-bounds in ./include/linux/log2.h:57:13 shift exponent 64 is too large for 64-bit type 'long unsigned int' CPU: 24 PID: 1075 Comm: (udev-worker) Not tainted 6.9.0-rc6+ #4 Hardware name: Abacus electric, s.r.o. - servis@abacus.cz Super Server/H12SSW-iN, BIOS 2.7 10/25/2023 Call Trace: <TASK> dump_stack_lvl+0x5d/0x80 ubsan_epilogue+0x5/0x30 __ubsan_handle_shift_out_of_bounds.cold+0x61/0xec __roundup_pow_of_two+0x25/0x35 [bnxt_re] bnxt_qplib_alloc_init_hwq+0xa1/0x470 [bnxt_re] bnxt_qplib_create_qp+0x19e/0x840 [bnxt_re] bnxt_re_create_qp+0x9b1/0xcd0 [bnxt_re] ? srso_alias_return_thunk+0x5/0xfbef5 ? srso_alias_return_thunk+0x5/0xfbef5 ? __kmalloc+0x1b6/0x4f0 ? create_qp.part.0+0x128/0x1c0 [ib_core] ? __pfx_bnxt_re_create_qp+0x10/0x10 [bnxt_re] create_qp.part.0+0x128/0x1c0 [ib_core] ib_create_qp_kernel+0x50/0xd0 [ib_core] create_mad_qp+0x8e/0xe0 [ib_core] ? __pfx_qp_event_handler+0x10/0x10 [ib_core] ib_mad_init_device+0x2be/0x680 [ib_core] add_client_context+0x10d/0x1a0 [ib_core] enable_device_and_get+0xe0/0x1d0 [ib_core] ib_register_device+0x53c/0x630 [ib_core] ? srso_alias_return_thunk+0x5/0xfbef5 bnxt_re_probe+0xbd8/0xe50 [bnxt_re] ? __pfx_bnxt_re_probe+0x10/0x10 [bnxt_re] auxiliary_bus_probe+0x49/0x80 ? driver_sysfs_add+0x57/0xc0 really_probe+0xde/0x340 ? pm_runtime_barrier+0x54/0x90 ? __pfx___driver_attach+0x10/0x10 __driver_probe_device+0x78/0x110 driver_probe_device+0x1f/0xa0 __driver_attach+0xba/0x1c0 bus_for_each_dev+0x8f/0xe0 bus_add_driver+0x146/0x220 driver_register+0x72/0xd0 __auxiliary_driver_register+0x6e/0xd0 ? __pfx_bnxt_re_mod_init+0x10/0x10 [bnxt_re] bnxt_re_mod_init+0x3e/0xff0 [bnxt_re] ? __pfx_bnxt_re_mod_init+0x10/0x10 [bnxt_re] do_one_initcall+0x5b/0x310 do_init_module+0x90/0x250 init_module_from_file+0x86/0xc0 idempotent_init_module+0x121/0x2b0 __x64_sys_finit_module+0x5e/0xb0 do_syscall_64+0x82/0x160 ? srso_alias_return_thunk+0x5/0xfbef5 ? syscall_exit_to_user_mode_prepare+0x149/0x170 ? srso_alias_return_thunk+0x5/0xfbef5 ? syscall_exit_to_user_mode+0x75/0x230 ? srso_alias_return_thunk+0x5/0xfbef5 ? do_syscall_64+0x8e/0x160 ? srso_alias_return_thunk+0x5/0xfbef5 ? __count_memcg_events+0x69/0x100 ? srso_alias_return_thunk+0x5/0xfbef5 ? count_memcg_events.constprop.0+0x1a/0x30 ? srso_alias_return_thunk+0x5/0xfbef5 ? handle_mm_fault+0x1f0/0x300 ? srso_alias_return_thunk+0x5/0xfbef5 ? do_user_addr_fault+0x34e/0x640 ? srso_alias_return_thunk+0x5/0xfbef5 ? srso_alias_return_thunk+0x5/0xfbef5 entry_SYSCALL_64_after_hwframe+0x76/0x7e RIP: 0033:0x7f4e5132821d Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d e3 db 0c 00 f7 d8 64 89 01 48 RSP: 002b:00007ffca9c906a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139 RAX: ffffffffffffffda RBX: 0000563ec8a8f130 RCX: 00007f4e5132821d RDX: 0000000000000000 RSI: 00007f4e518fa07d RDI: 000000000000003b RBP: 00007ffca9c90760 R08: 00007f4e513f6b20 R09: 00007ffca9c906f0 R10: 0000563ec8a8faa0 R11: 0000000000000246 R12: 00007f4e518fa07d R13: 0000000000020000 R14: 0000563ec8409e90 R15: 0000563ec8a8fa60 </TASK> ---[ end trace ]---
SSVC
Exploitation: none Automatable: no Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2024-06-24 15:37 UTC
Impacted products
Vendor Product Version CPE status
Linux Linux Affected: 0c4dcd602817502bb3dced7a834a13ef717d65a4 , < 66a9937187ac9b5c5ffff07b8b284483e56804d1 (git)
Affected: 0c4dcd602817502bb3dced7a834a13ef717d65a4 , < 84d2f29152184f0d72ed7c9648c4ee6927df4e59 (git)
Affected: 0c4dcd602817502bb3dced7a834a13ef717d65a4 , < a658f011d89dd20cf2c7cb4760ffd79201700b98 (git)
Affected: 0c4dcd602817502bb3dced7a834a13ef717d65a4 , < 627493443f3a8458cb55cdae1da254a7001123bc (git)
Affected: 0c4dcd602817502bb3dced7a834a13ef717d65a4 , < 8b799c00cea6fcfe5b501bbaeb228c8821acb753 (git)
Affected: 0c4dcd602817502bb3dced7a834a13ef717d65a4 , < 78cfd17142ef70599d6409cbd709d94b3da58659 (git)
guessed Create a notification for this product.
Linux Linux Affected: 5.7
Unaffected: 0 , < 5.7 (semver)
Unaffected: 5.15.181 , ≤ 5.15.* (semver)
Unaffected: 6.1.117 , ≤ 6.1.* (semver)
Unaffected: 6.6.33 , ≤ 6.6.* (semver)
Unaffected: 6.8.12 , ≤ 6.8.* (semver)
Unaffected: 6.9.3 , ≤ 6.9.* (semver)
Unaffected: 6.10 , ≤ * (original_commit_for_fix)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "cvssV3_1": {
              "attackComplexity": "LOW",
              "attackVector": "LOCAL",
              "availabilityImpact": "HIGH",
              "baseScore": 4.4,
              "baseSeverity": "MEDIUM",
              "confidentialityImpact": "NONE",
              "integrityImpact": "NONE",
              "privilegesRequired": "HIGH",
              "scope": "UNCHANGED",
              "userInteraction": "NONE",
              "vectorString": "CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H",
              "version": "3.1"
            }
          },
          {
            "other": {
              "content": {
                "id": "CVE-2024-38540",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2024-06-24T15:37:42.492444Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "problemTypes": [
          {
            "descriptions": [
              {
                "description": "CWE-noinfo Not enough information",
                "lang": "en",
                "type": "CWE"
              }
            ]
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2025-05-07T19:54:28.166Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      },
      {
        "providerMetadata": {
          "dateUpdated": "2025-11-03T21:55:46.119Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/a658f011d89dd20cf2c7cb4760ffd79201700b98"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/627493443f3a8458cb55cdae1da254a7001123bc"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/8b799c00cea6fcfe5b501bbaeb228c8821acb753"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://git.kernel.org/stable/c/78cfd17142ef70599d6409cbd709d94b3da58659"
          },
          {
            "url": "https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "product": "Linux",
          "programFiles": [
            "drivers/infiniband/hw/bnxt_re/qplib_fp.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "lessThan": "66a9937187ac9b5c5ffff07b8b284483e56804d1",
              "status": "affected",
              "version": "0c4dcd602817502bb3dced7a834a13ef717d65a4",
              "versionType": "git"
            },
            {
              "lessThan": "84d2f29152184f0d72ed7c9648c4ee6927df4e59",
              "status": "affected",
              "version": "0c4dcd602817502bb3dced7a834a13ef717d65a4",
              "versionType": "git"
            },
            {
              "lessThan": "a658f011d89dd20cf2c7cb4760ffd79201700b98",
              "status": "affected",
              "version": "0c4dcd602817502bb3dced7a834a13ef717d65a4",
              "versionType": "git"
            },
            {
              "lessThan": "627493443f3a8458cb55cdae1da254a7001123bc",
              "status": "affected",
              "version": "0c4dcd602817502bb3dced7a834a13ef717d65a4",
              "versionType": "git"
            },
            {
              "lessThan": "8b799c00cea6fcfe5b501bbaeb228c8821acb753",
              "status": "affected",
              "version": "0c4dcd602817502bb3dced7a834a13ef717d65a4",
              "versionType": "git"
            },
            {
              "lessThan": "78cfd17142ef70599d6409cbd709d94b3da58659",
              "status": "affected",
              "version": "0c4dcd602817502bb3dced7a834a13ef717d65a4",
              "versionType": "git"
            }
          ]
        },
        {
          "defaultStatus": "affected",
          "product": "Linux",
          "programFiles": [
            "drivers/infiniband/hw/bnxt_re/qplib_fp.c"
          ],
          "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
          "vendor": "Linux",
          "versions": [
            {
              "status": "affected",
              "version": "5.7"
            },
            {
              "lessThan": "5.7",
              "status": "unaffected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "5.15.*",
              "status": "unaffected",
              "version": "5.15.181",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.1.*",
              "status": "unaffected",
              "version": "6.1.117",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.6.*",
              "status": "unaffected",
              "version": "6.6.33",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.8.*",
              "status": "unaffected",
              "version": "6.8.12",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "6.9.*",
              "status": "unaffected",
              "version": "6.9.3",
              "versionType": "semver"
            },
            {
              "lessThanOrEqual": "*",
              "status": "unaffected",
              "version": "6.10",
              "versionType": "original_commit_for_fix"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "5.15.181",
                  "versionStartIncluding": "5.7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.1.117",
                  "versionStartIncluding": "5.7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.6.33",
                  "versionStartIncluding": "5.7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.8.12",
                  "versionStartIncluding": "5.7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.9.3",
                  "versionStartIncluding": "5.7",
                  "vulnerable": true
                },
                {
                  "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "6.10",
                  "versionStartIncluding": "5.7",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nbnxt_re: avoid shift undefined behavior in bnxt_qplib_alloc_init_hwq\n\nUndefined behavior is triggered when bnxt_qplib_alloc_init_hwq is called\nwith hwq_attr-\u003eaux_depth != 0 and hwq_attr-\u003eaux_stride == 0.\nIn that case, \"roundup_pow_of_two(hwq_attr-\u003eaux_stride)\" gets called.\nroundup_pow_of_two is documented as undefined for 0.\n\nFix it in the one caller that had this combination.\n\nThe undefined behavior was detected by UBSAN:\n  UBSAN: shift-out-of-bounds in ./include/linux/log2.h:57:13\n  shift exponent 64 is too large for 64-bit type \u0027long unsigned int\u0027\n  CPU: 24 PID: 1075 Comm: (udev-worker) Not tainted 6.9.0-rc6+ #4\n  Hardware name: Abacus electric, s.r.o. - servis@abacus.cz Super Server/H12SSW-iN, BIOS 2.7 10/25/2023\n  Call Trace:\n   \u003cTASK\u003e\n   dump_stack_lvl+0x5d/0x80\n   ubsan_epilogue+0x5/0x30\n   __ubsan_handle_shift_out_of_bounds.cold+0x61/0xec\n   __roundup_pow_of_two+0x25/0x35 [bnxt_re]\n   bnxt_qplib_alloc_init_hwq+0xa1/0x470 [bnxt_re]\n   bnxt_qplib_create_qp+0x19e/0x840 [bnxt_re]\n   bnxt_re_create_qp+0x9b1/0xcd0 [bnxt_re]\n   ? srso_alias_return_thunk+0x5/0xfbef5\n   ? srso_alias_return_thunk+0x5/0xfbef5\n   ? __kmalloc+0x1b6/0x4f0\n   ? create_qp.part.0+0x128/0x1c0 [ib_core]\n   ? __pfx_bnxt_re_create_qp+0x10/0x10 [bnxt_re]\n   create_qp.part.0+0x128/0x1c0 [ib_core]\n   ib_create_qp_kernel+0x50/0xd0 [ib_core]\n   create_mad_qp+0x8e/0xe0 [ib_core]\n   ? __pfx_qp_event_handler+0x10/0x10 [ib_core]\n   ib_mad_init_device+0x2be/0x680 [ib_core]\n   add_client_context+0x10d/0x1a0 [ib_core]\n   enable_device_and_get+0xe0/0x1d0 [ib_core]\n   ib_register_device+0x53c/0x630 [ib_core]\n   ? srso_alias_return_thunk+0x5/0xfbef5\n   bnxt_re_probe+0xbd8/0xe50 [bnxt_re]\n   ? __pfx_bnxt_re_probe+0x10/0x10 [bnxt_re]\n   auxiliary_bus_probe+0x49/0x80\n   ? driver_sysfs_add+0x57/0xc0\n   really_probe+0xde/0x340\n   ? pm_runtime_barrier+0x54/0x90\n   ? __pfx___driver_attach+0x10/0x10\n   __driver_probe_device+0x78/0x110\n   driver_probe_device+0x1f/0xa0\n   __driver_attach+0xba/0x1c0\n   bus_for_each_dev+0x8f/0xe0\n   bus_add_driver+0x146/0x220\n   driver_register+0x72/0xd0\n   __auxiliary_driver_register+0x6e/0xd0\n   ? __pfx_bnxt_re_mod_init+0x10/0x10 [bnxt_re]\n   bnxt_re_mod_init+0x3e/0xff0 [bnxt_re]\n   ? __pfx_bnxt_re_mod_init+0x10/0x10 [bnxt_re]\n   do_one_initcall+0x5b/0x310\n   do_init_module+0x90/0x250\n   init_module_from_file+0x86/0xc0\n   idempotent_init_module+0x121/0x2b0\n   __x64_sys_finit_module+0x5e/0xb0\n   do_syscall_64+0x82/0x160\n   ? srso_alias_return_thunk+0x5/0xfbef5\n   ? syscall_exit_to_user_mode_prepare+0x149/0x170\n   ? srso_alias_return_thunk+0x5/0xfbef5\n   ? syscall_exit_to_user_mode+0x75/0x230\n   ? srso_alias_return_thunk+0x5/0xfbef5\n   ? do_syscall_64+0x8e/0x160\n   ? srso_alias_return_thunk+0x5/0xfbef5\n   ? __count_memcg_events+0x69/0x100\n   ? srso_alias_return_thunk+0x5/0xfbef5\n   ? count_memcg_events.constprop.0+0x1a/0x30\n   ? srso_alias_return_thunk+0x5/0xfbef5\n   ? handle_mm_fault+0x1f0/0x300\n   ? srso_alias_return_thunk+0x5/0xfbef5\n   ? do_user_addr_fault+0x34e/0x640\n   ? srso_alias_return_thunk+0x5/0xfbef5\n   ? srso_alias_return_thunk+0x5/0xfbef5\n   entry_SYSCALL_64_after_hwframe+0x76/0x7e\n  RIP: 0033:0x7f4e5132821d\n  Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 \u003c48\u003e 3d 01 f0 ff ff 73 01 c3 48 8b 0d e3 db 0c 00 f7 d8 64 89 01 48\n  RSP: 002b:00007ffca9c906a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139\n  RAX: ffffffffffffffda RBX: 0000563ec8a8f130 RCX: 00007f4e5132821d\n  RDX: 0000000000000000 RSI: 00007f4e518fa07d RDI: 000000000000003b\n  RBP: 00007ffca9c90760 R08: 00007f4e513f6b20 R09: 00007ffca9c906f0\n  R10: 0000563ec8a8faa0 R11: 0000000000000246 R12: 00007f4e518fa07d\n  R13: 0000000000020000 R14: 0000563ec8409e90 R15: 0000563ec8a8fa60\n   \u003c/TASK\u003e\n  ---[ end trace ]---"
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-05-11T20:18:38.958Z",
        "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
        "shortName": "Linux"
      },
      "references": [
        {
          "url": "https://git.kernel.org/stable/c/66a9937187ac9b5c5ffff07b8b284483e56804d1"
        },
        {
          "url": "https://git.kernel.org/stable/c/84d2f29152184f0d72ed7c9648c4ee6927df4e59"
        },
        {
          "url": "https://git.kernel.org/stable/c/a658f011d89dd20cf2c7cb4760ffd79201700b98"
        },
        {
          "url": "https://git.kernel.org/stable/c/627493443f3a8458cb55cdae1da254a7001123bc"
        },
        {
          "url": "https://git.kernel.org/stable/c/8b799c00cea6fcfe5b501bbaeb228c8821acb753"
        },
        {
          "url": "https://git.kernel.org/stable/c/78cfd17142ef70599d6409cbd709d94b3da58659"
        }
      ],
      "title": "bnxt_re: avoid shift undefined behavior in bnxt_qplib_alloc_init_hwq",
      "x_generator": {
        "engine": "bippy-1.2.0"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
    "assignerShortName": "Linux",
    "cveId": "CVE-2024-38540",
    "datePublished": "2024-06-19T13:35:15.823Z",
    "dateReserved": "2024-06-18T19:36:34.918Z",
    "dateUpdated": "2026-05-11T20:18:38.958Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2024-38540",
      "date": "2026-09-16",
      "epss": "0.00249",
      "percentile": "0.16389"
    },
    "fkie_nvd": {
      "descriptions": "[{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\nbnxt_re: avoid shift undefined behavior in bnxt_qplib_alloc_init_hwq\\n\\nUndefined behavior is triggered when bnxt_qplib_alloc_init_hwq is called\\nwith hwq_attr-\u003eaux_depth != 0 and hwq_attr-\u003eaux_stride == 0.\\nIn that case, \\\"roundup_pow_of_two(hwq_attr-\u003eaux_stride)\\\" gets called.\\nroundup_pow_of_two is documented as undefined for 0.\\n\\nFix it in the one caller that had this combination.\\n\\nThe undefined behavior was detected by UBSAN:\\n  UBSAN: shift-out-of-bounds in ./include/linux/log2.h:57:13\\n  shift exponent 64 is too large for 64-bit type \u0027long unsigned int\u0027\\n  CPU: 24 PID: 1075 Comm: (udev-worker) Not tainted 6.9.0-rc6+ #4\\n  Hardware name: Abacus electric, s.r.o. - servis@abacus.cz Super Server/H12SSW-iN, BIOS 2.7 10/25/2023\\n  Call Trace:\\n   \u003cTASK\u003e\\n   dump_stack_lvl+0x5d/0x80\\n   ubsan_epilogue+0x5/0x30\\n   __ubsan_handle_shift_out_of_bounds.cold+0x61/0xec\\n   __roundup_pow_of_two+0x25/0x35 [bnxt_re]\\n   bnxt_qplib_alloc_init_hwq+0xa1/0x470 [bnxt_re]\\n   bnxt_qplib_create_qp+0x19e/0x840 [bnxt_re]\\n   bnxt_re_create_qp+0x9b1/0xcd0 [bnxt_re]\\n   ? srso_alias_return_thunk+0x5/0xfbef5\\n   ? srso_alias_return_thunk+0x5/0xfbef5\\n   ? __kmalloc+0x1b6/0x4f0\\n   ? create_qp.part.0+0x128/0x1c0 [ib_core]\\n   ? __pfx_bnxt_re_create_qp+0x10/0x10 [bnxt_re]\\n   create_qp.part.0+0x128/0x1c0 [ib_core]\\n   ib_create_qp_kernel+0x50/0xd0 [ib_core]\\n   create_mad_qp+0x8e/0xe0 [ib_core]\\n   ? __pfx_qp_event_handler+0x10/0x10 [ib_core]\\n   ib_mad_init_device+0x2be/0x680 [ib_core]\\n   add_client_context+0x10d/0x1a0 [ib_core]\\n   enable_device_and_get+0xe0/0x1d0 [ib_core]\\n   ib_register_device+0x53c/0x630 [ib_core]\\n   ? srso_alias_return_thunk+0x5/0xfbef5\\n   bnxt_re_probe+0xbd8/0xe50 [bnxt_re]\\n   ? __pfx_bnxt_re_probe+0x10/0x10 [bnxt_re]\\n   auxiliary_bus_probe+0x49/0x80\\n   ? driver_sysfs_add+0x57/0xc0\\n   really_probe+0xde/0x340\\n   ? pm_runtime_barrier+0x54/0x90\\n   ? __pfx___driver_attach+0x10/0x10\\n   __driver_probe_device+0x78/0x110\\n   driver_probe_device+0x1f/0xa0\\n   __driver_attach+0xba/0x1c0\\n   bus_for_each_dev+0x8f/0xe0\\n   bus_add_driver+0x146/0x220\\n   driver_register+0x72/0xd0\\n   __auxiliary_driver_register+0x6e/0xd0\\n   ? __pfx_bnxt_re_mod_init+0x10/0x10 [bnxt_re]\\n   bnxt_re_mod_init+0x3e/0xff0 [bnxt_re]\\n   ? __pfx_bnxt_re_mod_init+0x10/0x10 [bnxt_re]\\n   do_one_initcall+0x5b/0x310\\n   do_init_module+0x90/0x250\\n   init_module_from_file+0x86/0xc0\\n   idempotent_init_module+0x121/0x2b0\\n   __x64_sys_finit_module+0x5e/0xb0\\n   do_syscall_64+0x82/0x160\\n   ? srso_alias_return_thunk+0x5/0xfbef5\\n   ? syscall_exit_to_user_mode_prepare+0x149/0x170\\n   ? srso_alias_return_thunk+0x5/0xfbef5\\n   ? syscall_exit_to_user_mode+0x75/0x230\\n   ? srso_alias_return_thunk+0x5/0xfbef5\\n   ? do_syscall_64+0x8e/0x160\\n   ? srso_alias_return_thunk+0x5/0xfbef5\\n   ? __count_memcg_events+0x69/0x100\\n   ? srso_alias_return_thunk+0x5/0xfbef5\\n   ? count_memcg_events.constprop.0+0x1a/0x30\\n   ? srso_alias_return_thunk+0x5/0xfbef5\\n   ? handle_mm_fault+0x1f0/0x300\\n   ? srso_alias_return_thunk+0x5/0xfbef5\\n   ? do_user_addr_fault+0x34e/0x640\\n   ? srso_alias_return_thunk+0x5/0xfbef5\\n   ? srso_alias_return_thunk+0x5/0xfbef5\\n   entry_SYSCALL_64_after_hwframe+0x76/0x7e\\n  RIP: 0033:0x7f4e5132821d\\n  Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 \u003c48\u003e 3d 01 f0 ff ff 73 01 c3 48 8b 0d e3 db 0c 00 f7 d8 64 89 01 48\\n  RSP: 002b:00007ffca9c906a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139\\n  RAX: ffffffffffffffda RBX: 0000563ec8a8f130 RCX: 00007f4e5132821d\\n  RDX: 0000000000000000 RSI: 00007f4e518fa07d RDI: 000000000000003b\\n  RBP: 00007ffca9c90760 R08: 00007f4e513f6b20 R09: 00007ffca9c906f0\\n  R10: 0000563ec8a8faa0 R11: 0000000000000246 R12: 00007f4e518fa07d\\n  R13: 0000000000020000 R14: 0000563ec8409e90 R15: 0000563ec8a8fa60\\n   \u003c/TASK\u003e\\n  ---[ end trace ]---\"}, {\"lang\": \"es\", \"value\": \"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: bnxt_re: evita el comportamiento de cambio indefinido en bnxt_qplib_alloc_init_hwq El comportamiento indefinido se activa cuando se llama a bnxt_qplib_alloc_init_hwq con hwq_attr-\u0026gt;aux_ Depth != 0 y hwq_attr-\u0026gt;aux_stride == 0. En ese caso, \\\" Se llama a roundup_pow_of_two(hwq_attr-\u0026gt;aux_stride)\\\". roundup_pow_of_two est\\u00e1 documentado como indefinido para 0. Corr\\u00edjalo en la \\u00fanica persona que llam\\u00f3 que ten\\u00eda esta combinaci\\u00f3n. UBSAN detect\\u00f3 el comportamiento indefinido: UBSAN: desplazamiento fuera de los l\\u00edmites en ./include/linux/log2.h:57:13 el exponente de desplazamiento 64 es demasiado grande para CPU \u0027long unsigned int\u0027 de tipo de 64 bits: 24 PID: 1075 Comm: (udev-worker) Not tainted 6.9.0-rc6+ #4 Nombre del hardware: Abacus electric, sro - servis@abacus.cz Super Server/H12SSW-iN, BIOS 2.7 25/10/2023 Seguimiento de llamadas: \u0026lt; TAREA\u0026gt; dump_stack_lvl+0x5d/0x80 ubsan_epilogue+0x5/0x30 __ubsan_handle_shift_out_of_bounds.cold+0x61/0xec __roundup_pow_of_two+0x25/0x35 [bnxt_re] bnxt_qplib_alloc_init_hwq+0xa1/0x470 bnxt_re] bnxt_qplib_create_qp+0x19e/0x840 [bnxt_re] bnxt_re_create_qp+0x9b1/0xcd0 [bnxt_re ] ? srso_alias_return_thunk+0x5/0xfbef5? srso_alias_return_thunk+0x5/0xfbef5? __kmalloc+0x1b6/0x4f0 ? create_qp.part.0+0x128/0x1c0 [ib_core]? __pfx_bnxt_re_create_qp+0x10/0x10 [bnxt_re] create_qp.part.0+0x128/0x1c0 [ib_core] ib_create_qp_kernel+0x50/0xd0 [ib_core] create_mad_qp+0x8e/0xe0 [ib_core] ? __pfx_qp_event_handler+0x10/0x10 [ib_core] ib_mad_init_device+0x2be/0x680 [ib_core] add_client_context+0x10d/0x1a0 [ib_core] enable_device_and_get+0xe0/0x1d0 [ib_register_device+0x53c/0x63 0 [ib_core] ? srso_alias_return_thunk+0x5/0xfbef5 bnxt_re_probe+0xbd8/0xe50 [bnxt_re] ? __pfx_bnxt_re_probe+0x10/0x10 [bnxt_re] sonda_bus_auxiliar+0x49/0x80 ? driver_sysfs_add+0x57/0xc0 realmente_probe+0xde/0x340? pm_runtime_barrier+0x54/0x90? __pfx___driver_attach+0x10/0x10 __driver_probe_device+0x78/0x110 driver_probe_device+0x1f/0xa0 __driver_attach+0xba/0x1c0 bus_for_each_dev+0x8f/0xe0 bus_add_driver+0x146/0x220 driver_register+0x72/ 0xd0 __auxiliary_driver_register+0x6e/0xd0 ? __pfx_bnxt_re_mod_init+0x10/0x10 [bnxt_re] bnxt_re_mod_init+0x3e/0xff0 [bnxt_re] ? __pfx_bnxt_re_mod_init+0x10/0x10 [bnxt_re] do_one_initcall+0x5b/0x310 do_init_module+0x90/0x250 init_module_from_file+0x86/0xc0 idempotent_init_module+0x121/0x2b0 __x64_sys_finit _module+0x5e/0xb0 do_syscall_64+0x82/0x160 ? srso_alias_return_thunk+0x5/0xfbef5? syscall_exit_to_user_mode_prepare+0x149/0x170? srso_alias_return_thunk+0x5/0xfbef5? syscall_exit_to_user_mode+0x75/0x230? srso_alias_return_thunk+0x5/0xfbef5? do_syscall_64+0x8e/0x160? srso_alias_return_thunk+0x5/0xfbef5? __count_memcg_events+0x69/0x100? srso_alias_return_thunk+0x5/0xfbef5? count_memcg_events.constprop.0+0x1a/0x30? srso_alias_return_thunk+0x5/0xfbef5? handle_mm_fault+0x1f0/0x300? srso_alias_return_thunk+0x5/0xfbef5? do_user_addr_fault+0x34e/0x640? srso_alias_return_thunk+0x5/0xfbef5? srso_alias_return_thunk+0x5/0xfbef5 Entry_SYSCALL_64_after_hwframe+0x76/0x7e RIP: 0033:0x7f4e5132821d C\\u00f3digo: ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 48 9 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 \u0026lt;48\u0026gt; 3d 01 f0 ff ff 73 01 c3 48 8b 0d e3 db 0c 00 f7 d8 64 89 01 48 RSP: 002b:00007ffca9c906a8 EFLAGS: 00000246 IG_RAX: 0000000000000139 RAX: ffffffffffffffda RBX: 0000563ec8a8f130 RCX: 00007f4e5132821d RDX: 0000000000000000 RSI: 00007f4e518fa07d RDI: 000000000000003b RBP: 00007ffca9c90760 R08: 00007f4e513f6b20 00007ffca9c906f0 R10: 0000563ec8a8faa0 R11: 0000000000000246 R12: 00007f4e518fa07d R13: 0000000000020000 R14: 0000563ec8409e90 R15: 0563ec8a8fa60  ---[ finalizar rastreo ] ---\"}]",
      "id": "CVE-2024-38540",
      "lastModified": "2024-11-21T09:26:16.873",
      "metrics": "{\"cvssMetricV31\": [{\"source\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"type\": \"Secondary\", \"cvssData\": {\"version\": \"3.1\", \"vectorString\": \"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H\", \"baseScore\": 4.4, \"baseSeverity\": \"MEDIUM\", \"attackVector\": \"LOCAL\", \"attackComplexity\": \"LOW\", \"privilegesRequired\": \"HIGH\", \"userInteraction\": \"NONE\", \"scope\": \"UNCHANGED\", \"confidentialityImpact\": \"NONE\", \"integrityImpact\": \"NONE\", \"availabilityImpact\": \"HIGH\"}, \"exploitabilityScore\": 0.8, \"impactScore\": 3.6}]}",
      "published": "2024-06-19T14:15:14.290",
      "references": "[{\"url\": \"https://git.kernel.org/stable/c/627493443f3a8458cb55cdae1da254a7001123bc\", \"source\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}, {\"url\": \"https://git.kernel.org/stable/c/78cfd17142ef70599d6409cbd709d94b3da58659\", \"source\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}, {\"url\": \"https://git.kernel.org/stable/c/84d2f29152184f0d72ed7c9648c4ee6927df4e59\", \"source\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}, {\"url\": \"https://git.kernel.org/stable/c/8b799c00cea6fcfe5b501bbaeb228c8821acb753\", \"source\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}, {\"url\": \"https://git.kernel.org/stable/c/a658f011d89dd20cf2c7cb4760ffd79201700b98\", \"source\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"}, {\"url\": \"https://git.kernel.org/stable/c/627493443f3a8458cb55cdae1da254a7001123bc\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\"}, {\"url\": \"https://git.kernel.org/stable/c/78cfd17142ef70599d6409cbd709d94b3da58659\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\"}, {\"url\": \"https://git.kernel.org/stable/c/8b799c00cea6fcfe5b501bbaeb228c8821acb753\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\"}, {\"url\": \"https://git.kernel.org/stable/c/a658f011d89dd20cf2c7cb4760ffd79201700b98\", \"source\": \"af854a3a-2127-422b-91ae-364da2661108\"}]",
      "sourceIdentifier": "416baaa9-dc9f-4396-8d5f-8c081fb06d67",
      "vulnStatus": "Awaiting Analysis"
    },
    "microsoft_vex": {
      "current_release_date": "2026-02-18T01:53:27.000Z",
      "cve": "CVE-2024-38540",
      "id": "msrc_CVE-2024-38540",
      "initial_release_date": "2024-06-02T07:00:00.000Z",
      "product_status:fixed": "2",
      "product_status:known_affected": "2",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "bnxt_re: avoid shift undefined behavior in bnxt_qplib_alloc_init_hwq",
      "url": "https://msrc.microsoft.com/csaf/vex/2024/msrc_cve-2024-38540.json",
      "version": "2"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2024-38540\",\"sourceIdentifier\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"published\":\"2024-06-19T14:15:14.290\",\"lastModified\":\"2026-06-17T07:40:30.030\",\"vulnStatus\":\"Modified\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"In the Linux kernel, the following vulnerability has been resolved:\\n\\nbnxt_re: avoid shift undefined behavior in bnxt_qplib_alloc_init_hwq\\n\\nUndefined behavior is triggered when bnxt_qplib_alloc_init_hwq is called\\nwith hwq_attr-\u003eaux_depth != 0 and hwq_attr-\u003eaux_stride == 0.\\nIn that case, \\\"roundup_pow_of_two(hwq_attr-\u003eaux_stride)\\\" gets called.\\nroundup_pow_of_two is documented as undefined for 0.\\n\\nFix it in the one caller that had this combination.\\n\\nThe undefined behavior was detected by UBSAN:\\n  UBSAN: shift-out-of-bounds in ./include/linux/log2.h:57:13\\n  shift exponent 64 is too large for 64-bit type \u0027long unsigned int\u0027\\n  CPU: 24 PID: 1075 Comm: (udev-worker) Not tainted 6.9.0-rc6+ #4\\n  Hardware name: Abacus electric, s.r.o. - servis@abacus.cz Super Server/H12SSW-iN, BIOS 2.7 10/25/2023\\n  Call Trace:\\n   \u003cTASK\u003e\\n   dump_stack_lvl+0x5d/0x80\\n   ubsan_epilogue+0x5/0x30\\n   __ubsan_handle_shift_out_of_bounds.cold+0x61/0xec\\n   __roundup_pow_of_two+0x25/0x35 [bnxt_re]\\n   bnxt_qplib_alloc_init_hwq+0xa1/0x470 [bnxt_re]\\n   bnxt_qplib_create_qp+0x19e/0x840 [bnxt_re]\\n   bnxt_re_create_qp+0x9b1/0xcd0 [bnxt_re]\\n   ? srso_alias_return_thunk+0x5/0xfbef5\\n   ? srso_alias_return_thunk+0x5/0xfbef5\\n   ? __kmalloc+0x1b6/0x4f0\\n   ? create_qp.part.0+0x128/0x1c0 [ib_core]\\n   ? __pfx_bnxt_re_create_qp+0x10/0x10 [bnxt_re]\\n   create_qp.part.0+0x128/0x1c0 [ib_core]\\n   ib_create_qp_kernel+0x50/0xd0 [ib_core]\\n   create_mad_qp+0x8e/0xe0 [ib_core]\\n   ? __pfx_qp_event_handler+0x10/0x10 [ib_core]\\n   ib_mad_init_device+0x2be/0x680 [ib_core]\\n   add_client_context+0x10d/0x1a0 [ib_core]\\n   enable_device_and_get+0xe0/0x1d0 [ib_core]\\n   ib_register_device+0x53c/0x630 [ib_core]\\n   ? srso_alias_return_thunk+0x5/0xfbef5\\n   bnxt_re_probe+0xbd8/0xe50 [bnxt_re]\\n   ? __pfx_bnxt_re_probe+0x10/0x10 [bnxt_re]\\n   auxiliary_bus_probe+0x49/0x80\\n   ? driver_sysfs_add+0x57/0xc0\\n   really_probe+0xde/0x340\\n   ? pm_runtime_barrier+0x54/0x90\\n   ? __pfx___driver_attach+0x10/0x10\\n   __driver_probe_device+0x78/0x110\\n   driver_probe_device+0x1f/0xa0\\n   __driver_attach+0xba/0x1c0\\n   bus_for_each_dev+0x8f/0xe0\\n   bus_add_driver+0x146/0x220\\n   driver_register+0x72/0xd0\\n   __auxiliary_driver_register+0x6e/0xd0\\n   ? __pfx_bnxt_re_mod_init+0x10/0x10 [bnxt_re]\\n   bnxt_re_mod_init+0x3e/0xff0 [bnxt_re]\\n   ? __pfx_bnxt_re_mod_init+0x10/0x10 [bnxt_re]\\n   do_one_initcall+0x5b/0x310\\n   do_init_module+0x90/0x250\\n   init_module_from_file+0x86/0xc0\\n   idempotent_init_module+0x121/0x2b0\\n   __x64_sys_finit_module+0x5e/0xb0\\n   do_syscall_64+0x82/0x160\\n   ? srso_alias_return_thunk+0x5/0xfbef5\\n   ? syscall_exit_to_user_mode_prepare+0x149/0x170\\n   ? srso_alias_return_thunk+0x5/0xfbef5\\n   ? syscall_exit_to_user_mode+0x75/0x230\\n   ? srso_alias_return_thunk+0x5/0xfbef5\\n   ? do_syscall_64+0x8e/0x160\\n   ? srso_alias_return_thunk+0x5/0xfbef5\\n   ? __count_memcg_events+0x69/0x100\\n   ? srso_alias_return_thunk+0x5/0xfbef5\\n   ? count_memcg_events.constprop.0+0x1a/0x30\\n   ? srso_alias_return_thunk+0x5/0xfbef5\\n   ? handle_mm_fault+0x1f0/0x300\\n   ? srso_alias_return_thunk+0x5/0xfbef5\\n   ? do_user_addr_fault+0x34e/0x640\\n   ? srso_alias_return_thunk+0x5/0xfbef5\\n   ? srso_alias_return_thunk+0x5/0xfbef5\\n   entry_SYSCALL_64_after_hwframe+0x76/0x7e\\n  RIP: 0033:0x7f4e5132821d\\n  Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 \u003c48\u003e 3d 01 f0 ff ff 73 01 c3 48 8b 0d e3 db 0c 00 f7 d8 64 89 01 48\\n  RSP: 002b:00007ffca9c906a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139\\n  RAX: ffffffffffffffda RBX: 0000563ec8a8f130 RCX: 00007f4e5132821d\\n  RDX: 0000000000000000 RSI: 00007f4e518fa07d RDI: 000000000000003b\\n  RBP: 00007ffca9c90760 R08: 00007f4e513f6b20 R09: 00007ffca9c906f0\\n  R10: 0000563ec8a8faa0 R11: 0000000000000246 R12: 00007f4e518fa07d\\n  R13: 0000000000020000 R14: 0000563ec8409e90 R15: 0000563ec8a8fa60\\n   \u003c/TASK\u003e\\n  ---[ end trace ]---\"},{\"lang\":\"es\",\"value\":\"En el kernel de Linux, se ha resuelto la siguiente vulnerabilidad: bnxt_re: evita el comportamiento de cambio indefinido en bnxt_qplib_alloc_init_hwq El comportamiento indefinido se activa cuando se llama a bnxt_qplib_alloc_init_hwq con hwq_attr-\u0026gt;aux_ Depth != 0 y hwq_attr-\u0026gt;aux_stride == 0. En ese caso, \\\" Se llama a roundup_pow_of_two(hwq_attr-\u0026gt;aux_stride)\\\". roundup_pow_of_two est\u00e1 documentado como indefinido para 0. Corr\u00edjalo en la \u00fanica persona que llam\u00f3 que ten\u00eda esta combinaci\u00f3n. UBSAN detect\u00f3 el comportamiento indefinido: UBSAN: desplazamiento fuera de los l\u00edmites en ./include/linux/log2.h:57:13 el exponente de desplazamiento 64 es demasiado grande para CPU \u0027long unsigned int\u0027 de tipo de 64 bits: 24 PID: 1075 Comm: (udev-worker) Not tainted 6.9.0-rc6+ #4 Nombre del hardware: Abacus electric, sro - servis@abacus.cz Super Server/H12SSW-iN, BIOS 2.7 25/10/2023 Seguimiento de llamadas: \u0026lt; TAREA\u0026gt; dump_stack_lvl+0x5d/0x80 ubsan_epilogue+0x5/0x30 __ubsan_handle_shift_out_of_bounds.cold+0x61/0xec __roundup_pow_of_two+0x25/0x35 [bnxt_re] bnxt_qplib_alloc_init_hwq+0xa1/0x470 bnxt_re] bnxt_qplib_create_qp+0x19e/0x840 [bnxt_re] bnxt_re_create_qp+0x9b1/0xcd0 [bnxt_re ] ? srso_alias_return_thunk+0x5/0xfbef5? srso_alias_return_thunk+0x5/0xfbef5? __kmalloc+0x1b6/0x4f0 ? create_qp.part.0+0x128/0x1c0 [ib_core]? __pfx_bnxt_re_create_qp+0x10/0x10 [bnxt_re] create_qp.part.0+0x128/0x1c0 [ib_core] ib_create_qp_kernel+0x50/0xd0 [ib_core] create_mad_qp+0x8e/0xe0 [ib_core] ? __pfx_qp_event_handler+0x10/0x10 [ib_core] ib_mad_init_device+0x2be/0x680 [ib_core] add_client_context+0x10d/0x1a0 [ib_core] enable_device_and_get+0xe0/0x1d0 [ib_register_device+0x53c/0x63 0 [ib_core] ? srso_alias_return_thunk+0x5/0xfbef5 bnxt_re_probe+0xbd8/0xe50 [bnxt_re] ? __pfx_bnxt_re_probe+0x10/0x10 [bnxt_re] sonda_bus_auxiliar+0x49/0x80 ? driver_sysfs_add+0x57/0xc0 realmente_probe+0xde/0x340? pm_runtime_barrier+0x54/0x90? __pfx___driver_attach+0x10/0x10 __driver_probe_device+0x78/0x110 driver_probe_device+0x1f/0xa0 __driver_attach+0xba/0x1c0 bus_for_each_dev+0x8f/0xe0 bus_add_driver+0x146/0x220 driver_register+0x72/ 0xd0 __auxiliary_driver_register+0x6e/0xd0 ? __pfx_bnxt_re_mod_init+0x10/0x10 [bnxt_re] bnxt_re_mod_init+0x3e/0xff0 [bnxt_re] ? __pfx_bnxt_re_mod_init+0x10/0x10 [bnxt_re] do_one_initcall+0x5b/0x310 do_init_module+0x90/0x250 init_module_from_file+0x86/0xc0 idempotent_init_module+0x121/0x2b0 __x64_sys_finit _module+0x5e/0xb0 do_syscall_64+0x82/0x160 ? srso_alias_return_thunk+0x5/0xfbef5? syscall_exit_to_user_mode_prepare+0x149/0x170? srso_alias_return_thunk+0x5/0xfbef5? syscall_exit_to_user_mode+0x75/0x230? srso_alias_return_thunk+0x5/0xfbef5? do_syscall_64+0x8e/0x160? srso_alias_return_thunk+0x5/0xfbef5? __count_memcg_events+0x69/0x100? srso_alias_return_thunk+0x5/0xfbef5? count_memcg_events.constprop.0+0x1a/0x30? srso_alias_return_thunk+0x5/0xfbef5? handle_mm_fault+0x1f0/0x300? srso_alias_return_thunk+0x5/0xfbef5? do_user_addr_fault+0x34e/0x640? srso_alias_return_thunk+0x5/0xfbef5? srso_alias_return_thunk+0x5/0xfbef5 Entry_SYSCALL_64_after_hwframe+0x76/0x7e RIP: 0033:0x7f4e5132821d C\u00f3digo: ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 48 9 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 \u0026lt;48\u0026gt; 3d 01 f0 ff ff 73 01 c3 48 8b 0d e3 db 0c 00 f7 d8 64 89 01 48 RSP: 002b:00007ffca9c906a8 EFLAGS: 00000246 IG_RAX: 0000000000000139 RAX: ffffffffffffffda RBX: 0000563ec8a8f130 RCX: 00007f4e5132821d RDX: 0000000000000000 RSI: 00007f4e518fa07d RDI: 000000000000003b RBP: 00007ffca9c90760 R08: 00007f4e513f6b20 00007ffca9c906f0 R10: 0000563ec8a8faa0 R11: 0000000000000246 R12: 00007f4e518fa07d R13: 0000000000020000 R14: 0000563ec8409e90 R15: 0563ec8a8fa60  ---[ finalizar rastreo ] ---\"}],\"affected\":[{\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"affectedData\":[{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"unaffected\",\"programFiles\":[\"drivers/infiniband/hw/bnxt_re/qplib_fp.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"0c4dcd602817502bb3dced7a834a13ef717d65a4\",\"lessThan\":\"66a9937187ac9b5c5ffff07b8b284483e56804d1\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"0c4dcd602817502bb3dced7a834a13ef717d65a4\",\"lessThan\":\"84d2f29152184f0d72ed7c9648c4ee6927df4e59\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"0c4dcd602817502bb3dced7a834a13ef717d65a4\",\"lessThan\":\"a658f011d89dd20cf2c7cb4760ffd79201700b98\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"0c4dcd602817502bb3dced7a834a13ef717d65a4\",\"lessThan\":\"627493443f3a8458cb55cdae1da254a7001123bc\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"0c4dcd602817502bb3dced7a834a13ef717d65a4\",\"lessThan\":\"8b799c00cea6fcfe5b501bbaeb228c8821acb753\",\"versionType\":\"git\",\"status\":\"affected\"},{\"version\":\"0c4dcd602817502bb3dced7a834a13ef717d65a4\",\"lessThan\":\"78cfd17142ef70599d6409cbd709d94b3da58659\",\"versionType\":\"git\",\"status\":\"affected\"}]},{\"vendor\":\"Linux\",\"product\":\"Linux\",\"defaultStatus\":\"affected\",\"programFiles\":[\"drivers/infiniband/hw/bnxt_re/qplib_fp.c\"],\"repo\":\"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\",\"versions\":[{\"version\":\"5.7\",\"status\":\"affected\"},{\"version\":\"0\",\"lessThan\":\"5.7\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"5.15.181\",\"lessThanOrEqual\":\"5.15.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.1.117\",\"lessThanOrEqual\":\"6.1.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.6.33\",\"lessThanOrEqual\":\"6.6.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.8.12\",\"lessThanOrEqual\":\"6.8.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.9.3\",\"lessThanOrEqual\":\"6.9.*\",\"versionType\":\"semver\",\"status\":\"unaffected\"},{\"version\":\"6.10\",\"lessThanOrEqual\":\"*\",\"versionType\":\"original_commit_for_fix\",\"status\":\"unaffected\"}]}]}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H\",\"baseScore\":4.4,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"LOCAL\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"HIGH\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"NONE\",\"integrityImpact\":\"NONE\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":0.8,\"impactScore\":3.6}],\"ssvcV203\":[{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"ssvcData\":{\"timestamp\":\"2024-06-24T15:37:42.492444Z\",\"id\":\"CVE-2024-38540\",\"options\":[{\"exploitation\":\"none\"},{\"automatable\":\"no\"},{\"technicalImpact\":\"partial\"}],\"role\":\"CISA Coordinator\",\"version\":\"2.0.3\"}}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"NVD-CWE-noinfo\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"5.7\",\"versionEndExcluding\":\"6.1.117\",\"matchCriteriaId\":\"6F73CA47-4230-43ED-A152-CD093E87C1F3\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.2\",\"versionEndExcluding\":\"6.6.33\",\"matchCriteriaId\":\"FCE796DF-3B50-4DC6-BAE5-95271068FC9E\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.7\",\"versionEndExcluding\":\"6.8.12\",\"matchCriteriaId\":\"80550309-67AB-4FD1-AC07-3DED5C4F01B2\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\",\"versionStartIncluding\":\"6.9\",\"versionEndExcluding\":\"6.9.3\",\"matchCriteriaId\":\"E07124C1-19E8-4D21-828D-9932A01D3011\"}]}]}],\"references\":[{\"url\":\"https://git.kernel.org/stable/c/627493443f3a8458cb55cdae1da254a7001123bc\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/66a9937187ac9b5c5ffff07b8b284483e56804d1\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\"},{\"url\":\"https://git.kernel.org/stable/c/78cfd17142ef70599d6409cbd709d94b3da58659\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/84d2f29152184f0d72ed7c9648c4ee6927df4e59\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/8b799c00cea6fcfe5b501bbaeb228c8821acb753\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/a658f011d89dd20cf2c7cb4760ffd79201700b98\",\"source\":\"416baaa9-dc9f-4396-8d5f-8c081fb06d67\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/627493443f3a8458cb55cdae1da254a7001123bc\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/78cfd17142ef70599d6409cbd709d94b3da58659\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/8b799c00cea6fcfe5b501bbaeb228c8821acb753\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://git.kernel.org/stable/c/a658f011d89dd20cf2c7cb4760ffd79201700b98\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Patch\"]},{\"url\":\"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"}]}}",
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-06-28T07:49:34+00:00",
      "cve": "CVE-2024-38540",
      "id": "CVE-2024-38540",
      "initial_release_date": "2024-06-19T00:00:00+00:00",
      "product_status:fixed": "926",
      "product_status:known_affected": "50",
      "product_status:known_not_affected": "18",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "kernel: bnxt_re: avoid shift undefined behavior in bnxt_qplib_alloc_init_hwq",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2024/cve-2024-38540.json",
      "version": "3"
    },
    "suse_vex": {
      "aggregate_severity": "moderate",
      "current_release_date": "2026-08-29T01:53:42Z",
      "cve": "CVE-2024-38540",
      "id": "CVE-2024-38540",
      "initial_release_date": "2024-06-21T03:06:36Z",
      "product_status:known_affected": "359",
      "product_status:known_not_affected": "152",
      "product_status:recommended": "700",
      "source": "SUSE CSAF VEX",
      "status": "interim",
      "title": "SUSE CVE CVE-2024-38540",
      "url": "https://ftp.suse.com/pub/projects/security/csaf-vex/cve-2024-38540.json",
      "version": "99"
    },
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CVE Program Container\", \"references\": [{\"url\": \"https://git.kernel.org/stable/c/a658f011d89dd20cf2c7cb4760ffd79201700b98\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/627493443f3a8458cb55cdae1da254a7001123bc\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/8b799c00cea6fcfe5b501bbaeb228c8821acb753\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://git.kernel.org/stable/c/78cfd17142ef70599d6409cbd709d94b3da58659\", \"tags\": [\"x_transferred\"]}, {\"url\": \"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html\"}], \"providerMetadata\": {\"orgId\": \"af854a3a-2127-422b-91ae-364da2661108\", \"shortName\": \"CVE\", \"dateUpdated\": \"2025-11-03T21:55:46.119Z\"}}, {\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"cvssV3_1\": {\"scope\": \"UNCHANGED\", \"version\": \"3.1\", \"baseScore\": 4.4, \"attackVector\": \"LOCAL\", \"baseSeverity\": \"MEDIUM\", \"vectorString\": \"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H\", \"integrityImpact\": \"NONE\", \"userInteraction\": \"NONE\", \"attackComplexity\": \"LOW\", \"availabilityImpact\": \"HIGH\", \"privilegesRequired\": \"HIGH\", \"confidentialityImpact\": \"NONE\"}}, {\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2024-38540\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"partial\"}], \"version\": \"2.0.3\", \"timestamp\": \"2024-06-24T15:37:42.492444Z\"}}}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"description\": \"CWE-noinfo Not enough information\"}]}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2024-06-24T15:37:48.896Z\"}}], \"cna\": {\"title\": \"bnxt_re: avoid shift undefined behavior in bnxt_qplib_alloc_init_hwq\", \"affected\": [{\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"0c4dcd602817502bb3dced7a834a13ef717d65a4\", \"lessThan\": \"66a9937187ac9b5c5ffff07b8b284483e56804d1\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"0c4dcd602817502bb3dced7a834a13ef717d65a4\", \"lessThan\": \"84d2f29152184f0d72ed7c9648c4ee6927df4e59\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"0c4dcd602817502bb3dced7a834a13ef717d65a4\", \"lessThan\": \"a658f011d89dd20cf2c7cb4760ffd79201700b98\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"0c4dcd602817502bb3dced7a834a13ef717d65a4\", \"lessThan\": \"627493443f3a8458cb55cdae1da254a7001123bc\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"0c4dcd602817502bb3dced7a834a13ef717d65a4\", \"lessThan\": \"8b799c00cea6fcfe5b501bbaeb228c8821acb753\", \"versionType\": \"git\"}, {\"status\": \"affected\", \"version\": \"0c4dcd602817502bb3dced7a834a13ef717d65a4\", \"lessThan\": \"78cfd17142ef70599d6409cbd709d94b3da58659\", \"versionType\": \"git\"}], \"programFiles\": [\"drivers/infiniband/hw/bnxt_re/qplib_fp.c\"], \"defaultStatus\": \"unaffected\"}, {\"repo\": \"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git\", \"vendor\": \"Linux\", \"product\": \"Linux\", \"versions\": [{\"status\": \"affected\", \"version\": \"5.7\"}, {\"status\": \"unaffected\", \"version\": \"0\", \"lessThan\": \"5.7\", \"versionType\": \"semver\"}, {\"status\": \"unaffected\", \"version\": \"5.15.181\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"5.15.*\"}, {\"status\": \"unaffected\", \"version\": \"6.1.117\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.1.*\"}, {\"status\": \"unaffected\", \"version\": \"6.6.33\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.6.*\"}, {\"status\": \"unaffected\", \"version\": \"6.8.12\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.8.*\"}, {\"status\": \"unaffected\", \"version\": \"6.9.3\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"6.9.*\"}, {\"status\": \"unaffected\", \"version\": \"6.10\", \"versionType\": \"original_commit_for_fix\", \"lessThanOrEqual\": \"*\"}], \"programFiles\": [\"drivers/infiniband/hw/bnxt_re/qplib_fp.c\"], \"defaultStatus\": \"affected\"}], \"references\": [{\"url\": \"https://git.kernel.org/stable/c/66a9937187ac9b5c5ffff07b8b284483e56804d1\"}, {\"url\": \"https://git.kernel.org/stable/c/84d2f29152184f0d72ed7c9648c4ee6927df4e59\"}, {\"url\": \"https://git.kernel.org/stable/c/a658f011d89dd20cf2c7cb4760ffd79201700b98\"}, {\"url\": \"https://git.kernel.org/stable/c/627493443f3a8458cb55cdae1da254a7001123bc\"}, {\"url\": \"https://git.kernel.org/stable/c/8b799c00cea6fcfe5b501bbaeb228c8821acb753\"}, {\"url\": \"https://git.kernel.org/stable/c/78cfd17142ef70599d6409cbd709d94b3da58659\"}], \"x_generator\": {\"engine\": \"bippy-1.2.0\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"In the Linux kernel, the following vulnerability has been resolved:\\n\\nbnxt_re: avoid shift undefined behavior in bnxt_qplib_alloc_init_hwq\\n\\nUndefined behavior is triggered when bnxt_qplib_alloc_init_hwq is called\\nwith hwq_attr-\u003eaux_depth != 0 and hwq_attr-\u003eaux_stride == 0.\\nIn that case, \\\"roundup_pow_of_two(hwq_attr-\u003eaux_stride)\\\" gets called.\\nroundup_pow_of_two is documented as undefined for 0.\\n\\nFix it in the one caller that had this combination.\\n\\nThe undefined behavior was detected by UBSAN:\\n  UBSAN: shift-out-of-bounds in ./include/linux/log2.h:57:13\\n  shift exponent 64 is too large for 64-bit type \u0027long unsigned int\u0027\\n  CPU: 24 PID: 1075 Comm: (udev-worker) Not tainted 6.9.0-rc6+ #4\\n  Hardware name: Abacus electric, s.r.o. - servis@abacus.cz Super Server/H12SSW-iN, BIOS 2.7 10/25/2023\\n  Call Trace:\\n   \u003cTASK\u003e\\n   dump_stack_lvl+0x5d/0x80\\n   ubsan_epilogue+0x5/0x30\\n   __ubsan_handle_shift_out_of_bounds.cold+0x61/0xec\\n   __roundup_pow_of_two+0x25/0x35 [bnxt_re]\\n   bnxt_qplib_alloc_init_hwq+0xa1/0x470 [bnxt_re]\\n   bnxt_qplib_create_qp+0x19e/0x840 [bnxt_re]\\n   bnxt_re_create_qp+0x9b1/0xcd0 [bnxt_re]\\n   ? srso_alias_return_thunk+0x5/0xfbef5\\n   ? srso_alias_return_thunk+0x5/0xfbef5\\n   ? __kmalloc+0x1b6/0x4f0\\n   ? create_qp.part.0+0x128/0x1c0 [ib_core]\\n   ? __pfx_bnxt_re_create_qp+0x10/0x10 [bnxt_re]\\n   create_qp.part.0+0x128/0x1c0 [ib_core]\\n   ib_create_qp_kernel+0x50/0xd0 [ib_core]\\n   create_mad_qp+0x8e/0xe0 [ib_core]\\n   ? __pfx_qp_event_handler+0x10/0x10 [ib_core]\\n   ib_mad_init_device+0x2be/0x680 [ib_core]\\n   add_client_context+0x10d/0x1a0 [ib_core]\\n   enable_device_and_get+0xe0/0x1d0 [ib_core]\\n   ib_register_device+0x53c/0x630 [ib_core]\\n   ? srso_alias_return_thunk+0x5/0xfbef5\\n   bnxt_re_probe+0xbd8/0xe50 [bnxt_re]\\n   ? __pfx_bnxt_re_probe+0x10/0x10 [bnxt_re]\\n   auxiliary_bus_probe+0x49/0x80\\n   ? driver_sysfs_add+0x57/0xc0\\n   really_probe+0xde/0x340\\n   ? pm_runtime_barrier+0x54/0x90\\n   ? __pfx___driver_attach+0x10/0x10\\n   __driver_probe_device+0x78/0x110\\n   driver_probe_device+0x1f/0xa0\\n   __driver_attach+0xba/0x1c0\\n   bus_for_each_dev+0x8f/0xe0\\n   bus_add_driver+0x146/0x220\\n   driver_register+0x72/0xd0\\n   __auxiliary_driver_register+0x6e/0xd0\\n   ? __pfx_bnxt_re_mod_init+0x10/0x10 [bnxt_re]\\n   bnxt_re_mod_init+0x3e/0xff0 [bnxt_re]\\n   ? __pfx_bnxt_re_mod_init+0x10/0x10 [bnxt_re]\\n   do_one_initcall+0x5b/0x310\\n   do_init_module+0x90/0x250\\n   init_module_from_file+0x86/0xc0\\n   idempotent_init_module+0x121/0x2b0\\n   __x64_sys_finit_module+0x5e/0xb0\\n   do_syscall_64+0x82/0x160\\n   ? srso_alias_return_thunk+0x5/0xfbef5\\n   ? syscall_exit_to_user_mode_prepare+0x149/0x170\\n   ? srso_alias_return_thunk+0x5/0xfbef5\\n   ? syscall_exit_to_user_mode+0x75/0x230\\n   ? srso_alias_return_thunk+0x5/0xfbef5\\n   ? do_syscall_64+0x8e/0x160\\n   ? srso_alias_return_thunk+0x5/0xfbef5\\n   ? __count_memcg_events+0x69/0x100\\n   ? srso_alias_return_thunk+0x5/0xfbef5\\n   ? count_memcg_events.constprop.0+0x1a/0x30\\n   ? srso_alias_return_thunk+0x5/0xfbef5\\n   ? handle_mm_fault+0x1f0/0x300\\n   ? srso_alias_return_thunk+0x5/0xfbef5\\n   ? do_user_addr_fault+0x34e/0x640\\n   ? srso_alias_return_thunk+0x5/0xfbef5\\n   ? srso_alias_return_thunk+0x5/0xfbef5\\n   entry_SYSCALL_64_after_hwframe+0x76/0x7e\\n  RIP: 0033:0x7f4e5132821d\\n  Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 90 f3 0f 1e fa 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 \u003c48\u003e 3d 01 f0 ff ff 73 01 c3 48 8b 0d e3 db 0c 00 f7 d8 64 89 01 48\\n  RSP: 002b:00007ffca9c906a8 EFLAGS: 00000246 ORIG_RAX: 0000000000000139\\n  RAX: ffffffffffffffda RBX: 0000563ec8a8f130 RCX: 00007f4e5132821d\\n  RDX: 0000000000000000 RSI: 00007f4e518fa07d RDI: 000000000000003b\\n  RBP: 00007ffca9c90760 R08: 00007f4e513f6b20 R09: 00007ffca9c906f0\\n  R10: 0000563ec8a8faa0 R11: 0000000000000246 R12: 00007f4e518fa07d\\n  R13: 0000000000020000 R14: 0000563ec8409e90 R15: 0000563ec8a8fa60\\n   \u003c/TASK\u003e\\n  ---[ end trace ]---\"}], \"cpeApplicability\": [{\"nodes\": [{\"negate\": false, \"cpeMatch\": [{\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"5.15.181\", \"versionStartIncluding\": \"5.7\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.1.117\", \"versionStartIncluding\": \"5.7\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.6.33\", \"versionStartIncluding\": \"5.7\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.8.12\", \"versionStartIncluding\": \"5.7\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.9.3\", \"versionStartIncluding\": \"5.7\"}, {\"criteria\": \"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*\", \"vulnerable\": true, \"versionEndExcluding\": \"6.10\", \"versionStartIncluding\": \"5.7\"}], \"operator\": \"OR\"}]}], \"providerMetadata\": {\"orgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"shortName\": \"Linux\", \"dateUpdated\": \"2026-05-11T20:18:38.958Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2024-38540\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-05-11T20:18:38.958Z\", \"dateReserved\": \"2024-06-18T19:36:34.918Z\", \"assignerOrgId\": \"416baaa9-dc9f-4396-8d5f-8c081fb06d67\", \"datePublished\": \"2024-06-19T13:35:15.823Z\", \"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…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…