xsk: fix an integer overflow in xp_create_and_assign_umem()
Linux
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
Linux
| Product | Affected | Fixed in |
|---|---|---|
| Linux Linux |
| No fix yet |
| Linux Linux |
|
|
In the Linux kernel, the following vulnerability has been resolved:
xsk: fix an integer overflow in xp_create_and_assign_umem()
Since the i and pool->chunk_size variables are of type 'u32', their product can wrap around and then be cast to 'u64'. This can lead to two different XDP buffers pointing to the same memory area.
Found by InfoTeCS on behalf of Linux Verification Center (linuxtesting.org) with SVACE.
From the CVE record · Linux
An integer overflow in the Linux kernel's xsk xp_create_and_assign_umem() function can cause two XDP buffers to point to the same memory area. The input does not specify how an attacker could trigger this or whether network access, authentication, or user interaction is required.
Operators running the Linux kernel should check their installations; affected versions are not specified.