Incorrect Calculation of Buffer Size Affecting kernel-obs-build package, versions <5.3.18-150200.24.188.1


Severity

Recommended
0.0
medium
0
10

Based on SUSE Linux Enterprise Server security rating.

Threat Intelligence

EPSS
0.04% (6th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-SLES152-KERNELOBSBUILD-6690197
  • published29 Apr 2024
  • disclosed26 Apr 2024

Introduced: 26 Apr 2024

CVE-2021-46943  (opens in a new tab)
CWE-131  (opens in a new tab)

How to fix?

Upgrade SLES:15.2 kernel-obs-build to version 5.3.18-150200.24.188.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream kernel-obs-build package and not the kernel-obs-build package as distributed by SLES. See How to fix? for SLES:15.2 relevant fixed versions and status.

In the Linux kernel, the following vulnerability has been resolved:

media: staging/intel-ipu3: Fix set_fmt error handling

If there in an error during a set_fmt, do not overwrite the previous sizes with the invalid config.

Without this patch, v4l2-compliance ends up allocating 4GiB of RAM and causing the following OOPs

[ 38.662975] ipu3-imgu 0000:00:05.0: swiotlb buffer is full (sz: 4096 bytes) [ 38.662980] DMA: Out of SW-IOMMU space for 4096 bytes at device 0000:00:05.0 [ 38.663010] general protection fault: 0000 [#1] PREEMPT SMP

CVSS Scores

version 3.1