{"id":"CVE-2026-68418","summary":"RDMA/irdma: Prevent user-triggered null deref on QP create","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nRDMA/irdma: Prevent user-triggered null deref on QP create\n\nPreviously, the user QP creation path would only attempt to\npopulate iwqp-\u003eiwpbl if the user-provided req.user_wqe_bufs\nfield was non-zero. The problem is that iwqp-\u003eiwpbl is\nunconditionally dereferenced later on in irdma_setup_virt_qp.\n\nWhile there was a check for iwqp-\u003eiwpbl != NULL, this check\nwould only occur if req.user_wqe_bufs was non-zero. The end\nresult is that a user could send a zero user_wqe_bufs value\nand trigger a null ptr deref.\n\nFix this by unconditionally calling irdma_get_pbl and bailing\nif it fails, similar to the CQ and SRQ paths.","modified":"2026-08-12T04:24:32.352587529Z","published":"2026-08-10T12:04:38.930Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/68xxx/CVE-2026-68418.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/728211c815f6eef28dd3df2a5b6297483185aa20"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b9b0889071569d43623c260074e159cd8f26adb1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/ec675b4cdfd378d8c9dd8c93126c024f2469bd79"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/68xxx/CVE-2026-68418.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-68418"},{"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":"b48c24c2d710cf34810c555dcef883a3d35a9c08"},{"fixed":"ec675b4cdfd378d8c9dd8c93126c024f2469bd79"},{"fixed":"728211c815f6eef28dd3df2a5b6297483185aa20"},{"fixed":"b9b0889071569d43623c260074e159cd8f26adb1"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-68418.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.14.0"},{"fixed":"6.18.42"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.19.0"},{"fixed":"7.1.6"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2026-68418.json"}}],"schema_version":"1.9.0"}