Read the docs
TI-2022-25985 Aliases CVE-2022-50511GHSA-72cp-v89q-9p3w

lib/fonts: fix undefined behavior in bit shift for get_default_font

Priority LOW 24Published · Updated

Key facts

Attack vector
Local
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
None · None · High
Fix status
Partial Red Hat: 5 fixed, 2 without a fix

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat.

Summary

In the Linux kernel, the following vulnerability has been resolved: lib/fonts: fix undefined behavior in bit shift for get_default_font Shifting signed 32-bit value by 31 bits is undefined, so changing significant bit to unsigned. The UBSAN warning calltrace like below: UBSAN: shift-out-of-bounds in lib/fonts/fonts.c:139:20 left shift of 1 by 31 places cannot be represented in type 'int' <TASK> dump_stack_lvl+0x7d/0xa5 dump_stack+0x15/0x1b ubsan_epilogue+0xe/0x4e __ubsan_handle_shift_out_of_bounds+0x1e7/0x20c get_default_font+0x1c7/0x1f0 fbcon_startup+0x347/0x3a0 do_take_over_console+0xce/0x270 do_fbcon_takeover+0xa1/0x170 do_fb_registered+0x2a8/0x340 fbcon_fb_registered+0x47/0xe0 register_framebuffer+0x294/0x4a0 __drm_fb_helper_initial_config_and_unlock+0x43c/0x880 [drm_kms_helper] drm_fb_helper_initial_config+0x52/0x80 [drm_kms_helper] drm_fbdev_client_hotplug+0x156/0x1b0 [drm_kms_helper] drm_fbdev_generic_setup+0xfc/0x290 [drm_kms_helper] bochs_pci_probe+0x6ca/0x772 [bochs] local_pci_probe+0x4d/0xb0 pci_device_probe+0x119/0x320 really_probe+0x181/0x550 __driver_probe_device+0xc6/0x220 driver_probe_device+0x32/0x100 __driver_attach+0x195/0x200 bus_for_each_dev+0xbb/0x120 driver_attach+0x27/0x30 bus_add_driver+0x22e/0x2f0 driver_register+0xa9/0x190 __pci_register_driver+0x90/0xa0 bochs_pci_driver_init+0x52/0x1000 [bochs] do_one_initcall+0x76/0x430 do_init_module+0x61/0x28a load_module+0x1f82/0x2e50 __do_sys_finit_module+0xf8/0x190 __x64_sys_finit_module+0x23/0x30 do_syscall_64+0x58/0x80 entry_SYSCALL_64_after_hwframe+0x63/0xcd </TASK>

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00161 5th percentileScored 2026-11-07
Fix Partial Linux (Linux): 5.4.229, 5.10.163, 5.15.86 +3Red Hat: 1 advisoryRed Hat: 5 fixed, 2 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
LinuxLinux2.6.23 and later5.4.229, 5.10.163, 5.15.86, 6.0.16, 6.1.2, 6.2Patch availableCNA
  • Linux VendorLinux Affected 2.6.23 and later Fixed in 5.4.229, 5.10.163, 5.15.86, 6.0.16, 6.1.2, 6.2 Patch available CNA

CPE configurations NVD · 10

CPEVersionsRoleVendor
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*2.6.23.1 to before 5.4.229; 5.5 to before 5.10.163; 5.11 to before 5.15.86; 5.16 to before 6.0.16; 6.1 to before 6.1.2VulnerableLinux
cpe:2.3:o:linux:linux_kernel:2.6.23:-:*:*:*:*:*:*2.6.23VulnerableLinux
cpe:2.3:o:linux:linux_kernel:2.6.23:rc2:*:*:*:*:*:*2.6.23 rc2VulnerableLinux
cpe:2.3:o:linux:linux_kernel:2.6.23:rc3:*:*:*:*:*:*2.6.23 rc3VulnerableLinux
cpe:2.3:o:linux:linux_kernel:2.6.23:rc4:*:*:*:*:*:*2.6.23 rc4VulnerableLinux
cpe:2.3:o:linux:linux_kernel:2.6.23:rc5:*:*:*:*:*:*2.6.23 rc5VulnerableLinux
cpe:2.3:o:linux:linux_kernel:2.6.23:rc6:*:*:*:*:*:*2.6.23 rc6VulnerableLinux
cpe:2.3:o:linux:linux_kernel:2.6.23:rc7:*:*:*:*:*:*2.6.23 rc7VulnerableLinux
cpe:2.3:o:linux:linux_kernel:2.6.23:rc8:*:*:*:*:*:*2.6.23 rc8VulnerableLinux
cpe:2.3:o:linux:linux_kernel:2.6.23:rc9:*:*:*:*:*:*2.6.23 rc9VulnerableLinux
  • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions 2.6.23.1 to before 5.4.229; 5.5 to before 5.10.163; 5.11 to before 5.15.86; 5.16 to before 6.0.16; 6.1 to before 6.1.2 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:2.6.23:-:*:*:*:*:*:* Versions 2.6.23 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:2.6.23:rc2:*:*:*:*:*:* Versions 2.6.23 rc2 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:2.6.23:rc3:*:*:*:*:*:* Versions 2.6.23 rc3 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:2.6.23:rc4:*:*:*:*:*:* Versions 2.6.23 rc4 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:2.6.23:rc5:*:*:*:*:*:* Versions 2.6.23 rc5 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:2.6.23:rc6:*:*:*:*:*:* Versions 2.6.23 rc6 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:2.6.23:rc7:*:*:*:*:*:* Versions 2.6.23 rc7 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:2.6.23:rc8:*:*:*:*:*:* Versions 2.6.23 rc8 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:2.6.23:rc9:*:*:*:*:*:* Versions 2.6.23 rc9 Vulnerable ·Linux

Remediation

  • Fix · CNA Linux (Linux) Fixed in 5.4.229, 5.10.163, 5.15.86, 6.0.16, 6.1.2, 6.2

Red Hat 1 advisory

  • RHSA-2025:6966 Released 2025-05-13 · Red Hat rating Moderate
    kernel security update
    • Red Hat Enterprise Linux AppStream (v. 9) kernel-64k-debug-devel-5.14.0-570.12.1.el9_6, kernel-64k-debug-devel-matched-5.14.0-570.12.1.el9_6, kernel-64k-devel-5.14.0-570.12.1.el9_6 +12
    • Red Hat Enterprise Linux BaseOS (v. 9) kernel-5.14.0-570.12.1.el9_6, kernel-64k-5.14.0-570.12.1.el9_6, kernel-64k-core-5.14.0-570.12.1.el9_6 +28
    • Red Hat Enterprise Linux CodeReady Linux Builder (v. 9) kernel-tools-libs-devel-5.14.0-570.12.1.el9_6, libperf-5.14.0-570.12.1.el9_6
    • Red Hat Enterprise Linux Real Time (v. 9) kernel-rt-5.14.0-570.12.1.el9_6, kernel-rt-64k-5.14.0-570.12.1.el9_6, kernel-rt-64k-core-5.14.0-570.12.1.el9_6 +21
    • Red Hat Enterprise Linux Real Time for NFV (v. 9) kernel-rt-5.14.0-570.12.1.el9_6, kernel-rt-core-5.14.0-570.12.1.el9_6, kernel-rt-debug-5.14.0-570.12.1.el9_6 +11

Vendor assessments

Red Hat

Red Hat rating: Low. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 8AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 9AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux AppStream (v. 9)Fixed RHSA-2025:6966
Red Hat Enterprise Linux BaseOS (v. 9)Fixed RHSA-2025:6966
Red Hat Enterprise Linux CodeReady Linux Builder (v. 9)Fixed RHSA-2025:6966
Red Hat Enterprise Linux Real Time (v. 9)Fixed RHSA-2025:6966
Red Hat Enterprise Linux Real Time for NFV (v. 9)Fixed RHSA-2025:6966
Not affected: 3 products
  • Red Hat Enterprise Linux 10
  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 7

Timeline

  1. 2026-10-02 Threatist record created from CVE-2022-50511
  2. 2026-10-03 Alias added: GHSA-72cp-v89q-9p3w
  3. 2026-11-05 CISA SSVC decision points changed

References

  • TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
  • TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
  • TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
  • TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
  • TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
  • TI-2021-05514 Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACE KEVCVSS 3.1HIGH 8.3
See all 15278 →

Sources