{"id":"CVE-2025-40089","aliases":["CVE-2025-40089"],"related":[],"kind":"vulnerability","state":"published","title":"cxl/features: Add check for no entries in cxl_feature_info","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\ncxl/features: Add check for no entries in cxl_feature_info\n\ncxl EDAC calls cxl_feature_info() to get the feature information and\nif the hardware has no Features support, cxlfs may be passed in as\nNULL.\n\n[   51.957498] BUG: kernel NULL pointer dereference, address: 0000000000000008\n[   51.965571] #PF: supervisor read access in kernel mode\n[   51.971559] #PF: error_code(0x0000) - not-present page\n[   51.977542] PGD 17e4f6067 P4D 0\n[   51.981384] Oops: Oops: 0000 [#1] SMP NOPTI\n[   51.986300] CPU: 49 UID: 0 PID: 3782 Comm: systemd-udevd Not tainted 6.17.0dj\ntest+ #64 PREEMPT(voluntary)\n[   51.997355] Hardware name: <removed>\n[   52.009790] RIP: 0010:cxl_feature_info+0xa/0x80 [cxl_core]\n\nAdd a check for cxlfs before dereferencing it and return -EOPNOTSUPP if\nthere is no cxlfs created due to no hardware support.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\ncxl/features: Add check for no entries in cxl_feature_info\n\ncxl EDAC calls cxl_feature_info() to get the feature information and\nif the hardware has no Features support, cxlfs may be passed in as\nNULL.\n\n[   51.957498] BUG: kernel NULL pointer dereference, address: 0000000000000008\n[   51.965571] #PF: supervisor read access in kernel mode\n[   51.971559] #PF: error_code(0x0000) - not-present page\n[   51.977542] PGD 17e4f6067 P4D 0\n[   51.981384] Oops: Oops: 0000 [#1] SMP NOPTI\n[   51.986300] CPU: 49 UID: 0 PID: 3782 Comm: systemd-udevd Not tainted 6.17.0dj\ntest+ #64 PREEMPT(voluntary)\n[   51.997355] Hardware name: <removed>\n[   52.009790] RIP: 0010:cxl_feature_info+0xa/0x80 [cxl_core]\n\nAdd a check for cxlfs before dereferencing it and return -EOPNOTSUPP if\nthere is no cxlfs created due to no hardware support.","source":"cvelist"},{"lang":"es","text":"En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta:\n\ncxl/features: Añadir verificación para ninguna entrada en cxl_feature_info\n\ncxl EDAC llama a cxl_feature_info() para obtener la información de la característica y si el hardware no tiene soporte para Características, cxlfs puede ser pasado como NULL.\n\n[   51.957498] BUG: desreferencia de puntero NULL del kernel, dirección: 0000000000000008\n[   51.965571] #PF: acceso de lectura de supervisor en modo kernel\n[   51.971559] #PF: código_de_error(0x0000) - página no presente\n[   51.977542] PGD 17e4f6067 P4D 0\n[   51.981384] Oops: Oops: 0000 [#1] SMP NOPTI\n[   51.986300] CPU: 49 UID: 0 PID: 3782 Comm: systemd-udevd Not tainted 6.17.0dj\ntest+ #64 PREEMPT(voluntary)\n[   51.997355] Nombre del hardware: <eliminado>\n[   52.009790] RIP: 0010:cxl_feature_info+0xa/0x80 [cxl_core]\n\nAñadir una verificación para cxlfs antes de desreferenciarlo y devolver -EOPNOTSUPP si no hay cxlfs creado debido a la falta de soporte de hardware.","source":"nvd"}],"published":"2025-10-30T09:47:57.990Z","modified":"2026-10-19T21:10:00.160Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"eb5dfcb9e36d0e46089fec777d911313c1876fa3","fixed":"b8a69e3b1a460bf5d96dd53cbd121aa2cd346886","status":"affected"},{"type":"git","introduced":"eb5dfcb9e36d0e46089fec777d911313c1876fa3","fixed":"a375246fcf2bbdaeb1df7fa7ee5a8b884a89085e","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"6.15","status":"affected"},{"type":"semver","introduced":"0","fixed":"6.15","status":"unaffected"},{"type":"semver","introduced":"6.17.5","lastAffected":"6.17.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.18","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/b8a69e3b1a460bf5d96dd53cbd121aa2cd346886","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/a375246fcf2bbdaeb1df7fa7ee5a8b884a89085e","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-40089","url":"https://www.cve.org/CVERecord?id=CVE-2025-40089","licence":"CVE Terms of Use","modified":"2026-05-11T21:42:18.011Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-40089","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40089","licence":"Public domain","modified":"2026-10-19T21:10:00.160Z"}],"updatedAt":"2026-11-25T22:59:07.030Z","epss":{"score":0.00184,"percentile":0.08408,"date":"2026-12-01T12:00:22.000Z"}}