In the Linux kernel, the following vulnerability has been resolved:
udmabuf: validate ubuf->pagecount
Syzbot has reported GPF in sg_alloc_append_table_from_pages(). The problem was in ubuf->pages == ZERO_PTR.
ubuf->pagecount is calculated from arguments passed from user-space. If user creates udmabuf with list.size == 0 then ubuf->pagecount will be also equal to zero; it causes kmalloc_array() to return ZERO_PTR.
Fix it by validating ubuf->pagecount before passing it to kmalloc_array().
CVSS Details
- CVSS 3.1 Base Score: 5.5
- CVSS 3.1 Vector: (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Debian | — | Upgrade linux | Feb 27, 2025 | Feb 27, 2025 |
| Redhat_linux | — | No solution exists | Jul 9, 2025 | Feb 26, 2025 |
| Ubuntu | — | Upgrade linux-aws-fipsUpgrade linux-raspi-5.4Upgrade linux-intel-iotg-5.15Upgrade linux-iotUpgrade linux-bluefieldUpgrade linux-lowlatency-hwe-5.15Upgrade linux-hwe-5.4Upgrade linux-azure-5.4Upgrade linux-realtimeUpgrade linux-hwe-5.15Upgrade linux-ibmUpgrade linux-azureUpgrade linux-kvmUpgrade linux-aws-5.4Upgrade linux-gcp-fipsUpgrade linux-oracleUpgrade linux-lowlatencyUpgrade linux-raspiUpgrade linux-azure-5.15Upgrade linux-gkeUpgrade linux-gcp-5.4Upgrade linux-awsUpgrade linux-intel-iotgUpgrade linuxUpgrade linux-fipsUpgrade linux-azure-fipsUpgrade linux-ibm-5.4Upgrade linux-gcpUpgrade linux-oracle-5.4 | Mar 3, 2025 | Feb 26, 2025 |
| Vmware Photon_os | — | Use 'tdnf update' to upgrade all packages to the latest version. | May 27, 2026 | Feb 26, 2025 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub