Katalog CVE

CVE-2024-49970

ŚrednieCVSS 5.5
Opublikowano: Zaktualizowano: Przetłumaczono: NVD NIST

Prawdopodobieństwo exploitacji (EPSS)

Niskie ryzyko
0.30%

Percentyl 22 - wyżej niż 22% wszystkich znanych CVE

Streszczenie

W jądrze Linux rozwiązano podatność przepełnienia bufora w funkcji dcn401_stream_encoder_create w sterowniku drm/amd/display. Tablica stream_enc_regs ma cztery elementy, a indeks eng_id równy 5 powoduje dostęp poza granicami tablicy.

Ocena ryzyka

Podatność może prowadzić do niezdefiniowanego zachowania lub awarii jądra podczas tworzenia enkodera strumienia w DCN401, powodując odmowę usługi.

Rekomendacja

Zaktualizuj jądro Linux do wersji zawierającej poprawkę. W systemach z grafiką AMD sprawdź, czy sterownik amdgpu jest aktualny.

Inne podatności w Linux kernel

Zobacz wszystkie
Oryginalny opis (angielski, źródło NVD)

In the Linux kernel, the following vulnerability has been resolved: drm/amd/display: Implement bounds check for stream encoder creation in DCN401 'stream_enc_regs' array is an array of dcn10_stream_enc_registers structures. The array is initialized with four elements, corresponding to the four calls to stream_enc_regs() in the array initializer. This means that valid indices for this array are 0, 1, 2, and 3. The error message 'stream_enc_regs' 4 <= 5 below, is indicating that there is an attempt to access this array with an index of 5, which is out of bounds. This could lead to undefined behavior Here, eng_id is used as an index to access the stream_enc_regs array. If eng_id is 5, this would result in an out-of-bounds access on the stream_enc_regs array. Thus fixing Buffer overflow error in dcn401_stream_encoder_create Found by smatch: drivers/gpu/drm/amd/amdgpu/../display/dc/resource/dcn401/dcn401_resource.c:1209 dcn401_stream_encoder_create() error: buffer overflow 'stream_enc_regs' 4 <= 5

Dane podatności pochodzą z NVD (NIST) · CISA KEV · EPSS