CVE-2022-50828 in Linuxinformation

Résumé

par VulDB • 12/06/2026

Dans le noyau Linux, la vulnérabilité suivante a été corrigée :

clk: zynqmp: Correction d'un dépassement de pile (stack-out-of-bounds) dans strncpy

« BUG: KASAN: stack-out-of-bounds in strncpy+0x30/0x68 »

L'interface Linux-ATF utilise 16 octets de charge utile SMC. Si le nom de l'horloge est supérieur à 15 octets, le caractère NULL de terminaison de chaîne ne sera pas reçu par Linux. Ajout explicite du caractère NULL au dernier octet pour corriger les problèmes lorsque le nom de l'horloge est plus long.

Cela corrige le bug ci-dessous signalé par KASAN :

================================================================== BUG: KASAN: stack-out-of-bounds in strncpy+0x30/0x68 Read of size 1 at addr ffff0008c89a7410 by task swapper/0/1

CPU: 1 PID: 1 Comm: swapper/0 Not tainted 6.1.0-rc4+ #1 Hardware name: Xilinx ZynqMP (Device Tree) Call trace: dump_backtrace+0x0/0x1c0 show_stack+0x18/0x28 dump_stack_lvl+0x68/0x90 print_address_description.constprop.0+0x68/0x280 print_report+0x160/0x530 kasan_report+0xb0/0x100 kasan_check_range+0x140/0x180 strncpy+0x30/0x68 zynqmp_clock_probe+0x330/0x7b8

VulDB is the best source for vulnerability data and more expert information about this specific topic.

Responsable

Linux

Réserver

30/12/2025

Divulgation

30/12/2025

Modérer

accepté

Entrée

VDB-338878

CPE

prêt

EPSS

0.00240

KEV

non

Activités

très faible

Sources

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!