CVE-2026-46268
JSON

5.5medium

PCI/P2PDMA: Fix p2pmem_alloc_mmap() warning condition

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.11% (higher than 1% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Linux

Description

In the Linux kernel, the following vulnerability has been resolved: PCI/P2PDMA: Fix p2pmem_alloc_mmap() warning condition Commit b7e282378773 has already changed the initial page refcount of p2pdma page from one to zero, however, in p2pmem_alloc_mmap() it uses "VM_WARN_ON_ONCE_PAGE(!page_ref_count(page))" to assert the initial page refcount should not be zero and the following will be reported when CONFIG_DEBUG_VM is enabled: page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x380400000 flags: 0x20000000002000(reserved|node=0|zone=4) raw: 0020000000002000 ff1100015e3ab440 0000000000000000 0000000000000000 raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 page dumped because: VM_WARN_ON_ONCE_PAGE(!page_ref_count(page)) ------------[ cut here ]------------ WARNING: CPU: 5 PID: 449 at drivers/pci/p2pdma.c:240 p2pmem_alloc_mmap+0x83a/0xa60 Fix by using "page_ref_count(page)" as the assertion condition.

Affected

Product or packageVersionsReported by
Linux Linuxfrom b7e2823787735ca009e63f35f164b46df0ef096c before eb9aa9f8010465d927864f5a35bdc5604b0ff51a, from b7e2823787735ca009e63f35f164b46df0ef096c before 9b69243983fb2f4d4d1f4ef0989bc1296547dc2c, from b7e2823787735ca009e63f35f164b46df0ef096c before cb500023a75246f60b79af9f7321d6e75330c5b5, 6.15
Not affected: before 6.15, from 6.18.14 up to 6.18.*, from 6.19.4 up to 6.19.*, from 7.0 up to *
CVE List
linux linux_kernelfrom 6.15 before 6.18.14, from 6.19 before 6.19.4NVD

What each source says

CVE List

In the Linux kernel, the following vulnerability has been resolved: PCI/P2PDMA: Fix p2pmem_alloc_mmap() warning condition Commit b7e282378773 has already changed the initial page refcount of p2pdma page from one to zero, however, in p2pmem_alloc_mmap() it uses "VM_WARN_ON_ONCE_PAGE(!page_ref_count(page))" to assert the initial page refcount should not be zero and the following will be reported when CONFIG_DEBUG_VM is enabled: page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x380400000 flags: 0x20000000002000(reserved|node=0|zone=4) raw: 0020000000002000 ff1100015e3ab440 0000000000000000 0000000000000000 raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 page dumped because: VM_WARN_ON_ONCE_PAGE(!page_ref_count(page)) ------------[ cut here ]------------ WARNING: CPU: 5 PID: 449 at drivers/pci/p2pdma.c:240 p2pmem_alloc_mmap+0x83a/0xa60 Fix by using "page_ref_count(page)" as the assertion condition.

NVD (es)

En el kernel de Linux, la siguiente vulnerabilidad ha sido resuelta: PCI/P2PDMA: Solución a la condición de advertencia de p2pmem_alloc_mmap() El commit b7e282378773 ya ha cambiado el recuento de referencias de página inicial de la página p2pdma de uno a cero; sin embargo, en p2pmem_alloc_mmap() utiliza 'VM_WARN_ON_ONCE_PAGE(!page_ref_count(page))' para afirmar que el recuento de referencias de página inicial no debe ser cero y se informará lo siguiente cuando CONFIG_DEBUG_VM esté habilitado: page: refcount:0 mapcount:0 mapping:0000000000000000 index:0x0 pfn:0x380400000 flags: 0x20000000002000(reserved|node=0|zone=4) raw: 0020000000002000 ff1100015e3ab440 0000000000000000 0000000000000000 raw: 0000000000000000 0000000000000000 00000000ffffffff 0000000000000000 page dumped because: VM_WARN_ON_ONCE_PAGE(!page_ref_count(page)) ------------[ cut here ]------------ WARNING: CPU: 5 PID: 449 at drivers/pci/p2pdma.c:240 p2pmem_alloc_mmap+0x83a/0xa60 Se corrige utilizando 'page_ref_count(page)' como condición de aserción.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-46268 changed 2026-06-03CVE Terms of Use
NVDCVE-2026-46268 changed 2026-07-22Public domain