← Back

CVE-2025-39967

nvd nist
Published: Oct 15, 2025Modified: Jun 17, 2026

JSON object

Loading...
7.8
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Exploitability: 1.8 / Impact: 5.9
Source: NVD

Description

In the Linux kernel, the following vulnerability has been resolved: fbcon: fix integer overflow in fbcon_do_set_font Fix integer overflow vulnerabilities in fbcon_do_set_font() where font size calculations could overflow when handling user-controlled font parameters. The vulnerabilities occur when: 1. CALC_FONTSZ(h, pitch, charcount) performs h * pith * charcount multiplication with user-controlled values that can overflow. 2. FONT_EXTRA_WORDS * sizeof(int) + size addition can also overflow 3. This results in smaller allocations than expected, leading to buffer overflows during font data copying. Add explicit overflow checking using check_mul_overflow() and check_add_overflow() kernel helpers to safety validate all size calculations before allocation.

Affected (26)

Products: Linux: Linux Kernel
1 product
Linux Kernel
Configuration A
26 vulnerable
Vulnerable SoftwareAffected Versions
Linux
From 4.14.196 to 4.15
From 4.19.143 to 4.20
From 4.4.235 to 4.5
From 4.9.235 to 4.10
From 5.11 to 5.15.194
From 5.16 to 6.1.155
From 5.4.62 to 5.4.300
From 5.8.6 to 5.9
From 5.9.1 to 5.10.245
From 6.13 to 6.16.10
From 6.2 to 6.6.109
From 6.7 to 6.12.50
Version 5.9
Version 5.9 rc3
Version 5.9 rc4
Version 5.9 rc5
Version 5.9 rc6
Version 5.9 rc7
Version 5.9 rc8
Version 6.17 rc1
Version 6.17 rc2
Version 6.17 rc3
Version 6.17 rc4
Version 6.17 rc5
Version 6.17 rc6
Version 6.17 rc7

References (8)

Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Patch

Timeline

No history available yet.