{"id":"CVE-2022-49894","published":"2025-05-01T14:10:37Z","modified":"2026-05-11T19:08:48Z","title":"cxl/region: Fix region HPA ordering validation","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\ncxl/region: Fix region HPA ordering validation\n\nSome regions may not have any address space allocated. Skip them when\nvalidating HPA order otherwise a crash like the following may result:\n\n devm_cxl_add_region: cxl_acpi cxl_acpi.0: decoder3.4: created region9\n BUG: kernel NULL pointer dereference, address: 0000000000000000\n [..]\n RIP: 0010:store_targetN+0x655/0x1740 [cxl_core]\n [..]\n Call Trace:\n  <TASK>\n  kernfs_fop_write_iter+0x144/0x200\n  vfs_write+0x24a/0x4d0\n  ksys_write+0x69/0xf0\n  do_syscall_64+0x3a/0x90\n\nstore_targetN+0x655/0x1740:\nalloc_region_ref at drivers/cxl/core/region.c:676\n(inlined by) cxl_port_attach_region at drivers/cxl/core/region.c:850\n(inlined by) cxl_region_attach at drivers/cxl/core/region.c:1290\n(inlined by) attach_target at drivers/cxl/core/region.c:1410\n(inlined by) store_targetN at drivers/cxl/core/region.c:1453","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00174,"percentile":0.0678,"provenance":"source"},"cwes":[{"id":"CWE-476","name":"NULL Pointer Dereference"}],"references":[{"url":"https://git.kernel.org/stable/c/12316b9f7c18138ae656050cfd716728e27b7e2f","tags":[]},{"url":"https://git.kernel.org/stable/c/a90accb358ae33ea982a35595573f7a045993f8b","tags":[]}],"priority":{"score":5.2,"factors":[{"name":"EPSS percentile","points":1.36},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 384e624bb211b406db40edc900bb51af8bb267d0, < 12316b9f7c18138ae656050cfd716728e27b7e2f",">= 384e624bb211b406db40edc900bb51af8bb267d0, < a90accb358ae33ea982a35595573f7a045993f8b"]},{"vendor":"Linux","product":"Linux","versions":["6.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-10-01T16:02:18.443986Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-12893","exploited":false,"provenance":"source"}}