Linux kernel
cpe:2.3:a:linux:linux_kernel:*:*:*:*:*:*:*, +4 more
A vulnerability in the Linux kernel's font management can lead to undefined behavior due to improper bit shifting of signed 32-bit values. This issue occurs in the 'get_default_font' function within the 'lib/fonts/fonts.c' file. The vulnerability has been addressed by modifying the bit shift operation to use unsigned values, thereby eliminating the potential for undefined behavior. The issue was identified through a Undefined Behavior Sanitizer (UBSAN) warning, which indicated a shift-out-of-bounds error.
Exploitation of this vulnerability could lead to undefined behavior in the kernel, potentially causing instability or unexpected behavior in the system.
The vulnerability can be reproduced by loading a module that registers a PCI device, which in turn triggers a hotplug event for a framebuffer device. This process will invoke the 'get_default_font' function, where the vulnerable bit shift operation occurs. The UBSAN warning will be generated, indicating the shift-out-of-bounds issue.
Users can upgrade to the latest version of the Linux kernel where this vulnerability has been patched.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.