Description
In the Linux kernel, the following vulnerability has been resolved: media: dvb-net: fix OOB access in ULE extension header tables The ule_mandatory_ext_handlers[] and ule_optional_ext_handlers[] tables in handle_one_ule_extension() are declared with 255 elements (valid indices 0-254), but the index htype is derived from network-controlled data as (ule_sndu_type & 0x00FF), giving a range of 0-255. When htype equals 255, an out-of-bounds read occurs on the function pointer table, and the OOB value may be called as a function pointer. Add a bounds check on htype against the array size before either table is accessed. Out-of-range values now cause the SNDU to be discarded.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Linux Linux
Default version status: unaffected
1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < e51238718217c4abdb3ccc3b0c0cde265c7ec629affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < b2bd2ee73b697c177157bba534e1b1064c2e66a0affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 29ef43ceb121d67b87f4cbb08439e4e9e732eff8affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 1a6da3dbb9985d00743073a1cc1f96e59f5abc30affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 145e50c2c700fa52b840df7bab206043997dd18eaffected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 8bde543d2a5f935ba2a6a6325a2e02f8a9256fbeaffected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < f2b65dcb78c8990e4c68a906627433be1fe38a92affected1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 to < 24d87712727a5017ad142d63940589a36cd25647affected
Linux Linux
Default version status: affected
2.6.12affected0 to < 2.6.12unaffected5.10.253 to ≤ 5.10.*unaffected5.15.203 to ≤ 5.15.*unaffected6.1.167 to ≤ 6.1.*unaffected6.6.130 to ≤ 6.6.*unaffected6.12.78 to ≤ 6.12.*unaffected6.18.19 to ≤ 6.18.*unaffected6.19.9 to ≤ 6.19.*unaffected7.0 to ≤ *unaffected
References
- https://git.kernel.org/stable/c/e51238718217c4abdb3ccc3b0c0cde265c7ec629 ↗
- https://git.kernel.org/stable/c/b2bd2ee73b697c177157bba534e1b1064c2e66a0 ↗
- https://git.kernel.org/stable/c/29ef43ceb121d67b87f4cbb08439e4e9e732eff8 ↗
- https://git.kernel.org/stable/c/1a6da3dbb9985d00743073a1cc1f96e59f5abc30 ↗
- https://git.kernel.org/stable/c/145e50c2c700fa52b840df7bab206043997dd18e ↗
- https://git.kernel.org/stable/c/8bde543d2a5f935ba2a6a6325a2e02f8a9256fbe ↗
- https://git.kernel.org/stable/c/f2b65dcb78c8990e4c68a906627433be1fe38a92 ↗
- https://git.kernel.org/stable/c/24d87712727a5017ad142d63940589a36cd25647 ↗