HomeDefectsLIN1021-16125
Fixed

LIN1021-16125 : Security Advisory - linux - CVE-2022-49989

Created: Jun 18, 2025    Updated: Oct 14, 2025
Resolved Date: Oct 13, 2025
Found In Version: 10.21.20.1
Fix Version: 10.21.20.14
Severity: Standard
Applicable for: Wind River Linux LTS 21
Component/s: Kernel

Description

In the Linux kernel, the following vulnerability has been resolved:[EOL][EOL]xen/privcmd: fix error exit of privcmd_ioctl_dm_op()[EOL][EOL]The error exit of privcmd_ioctl_dm_op() is calling unlock_pages()[EOL]potentially with pages being NULL, leading to a NULL dereference.[EOL][EOL]Additionally lock_pages() doesn't check for pin_user_pages_fast()[EOL]having been completely successful, resulting in potentially not[EOL]locking all pages into memory. This could result in sporadic failures[EOL]when using the related memory in user mode.[EOL][EOL]Fix all of that by calling unlock_pages() always with the real number[EOL]of pinned pages, which will be zero in case pages being NULL, and by[EOL]checking the number of pages pinned by pin_user_pages_fast() matching[EOL]the expected number of pages.

CVEs