{"vuln_id":"CVE-2026-89544","aliases":[],"description":"In the Linux kernel, the following vulnerability has been resolved:\n\nSUNRPC: fix gssx_dec_option_array error path bugs\n\nFour coupled defects in the gssx XDR option-array decoder make the\nerror paths unsafe: a NULL deref in the caller, a refcount leak on\nthe decoded group_info, and a latent use-after-free that the leak\nfix would otherwise expose.\n\ngssx_dec_option_array() sets oa->count = 1 before allocating\noa->data.  If that allocation fails, -ENOMEM is returned with\noa->count == 1 and oa->data == NULL.  All other error paths jump\nto free_oa: which frees oa->data and NULLs it but also leaves\noa->count == 1.  The caller trusts the count:\n\n    gssp_accept_sec_context_upcall()\n      gssx_dec_accept_sec_context()\n        gssx_dec_option_array()        /* fails, count=1 data=NULL */\n      data = res.options.data[0].value /* NULL deref */\n\nIndependently, free_creds: releases the partially decoded svc_cred\nwith a bare kfree(creds).  gssx_dec_linux_creds() installs a\ngroups_alloc() result into creds->cr_group_info; that object is\nkvmalloc-backed and refcounted, and only put_group_info() reaches\nkvfree().  A plain kfree(creds) drops the wrapper and leaks the\ngroup_info allocation.\n\nThe natural fix for the leak is to call free_svc_cred(creds) before\nkfree(creds), but free_svc_cred() invokes put_group_info() on\ncreds->cr_group_info unconditionally when non-NULL.  The existing\nout_free_groups: path in gssx_dec_linux_creds() already called\ngroups_free() on that pointer without clearing it, so once\nfree_svc_cred() is wired in, the subsequent put_group_info() would\ntouch freed memory.\n\nFix all four together:\n\n  - Move the oa->count = 1 assignment below the oa->data allocation\n    so it is never set when oa->data is NULL.\n  - Reset oa->count to 0 at free_oa: so count and data stay\n    coherent and the caller sees an empty option array.\n  - Call free_svc_cred(creds) before kfree(creds) at free_creds:\n    so the refcounted cr_group_info is released.  free_svc_cred()\n    either NULL-guards each field explicitly (cr_group_info has\n    an if() check) or delegates to a helper that is NULL-safe\n    itself (kfree for the string fields, gss_mech_put() which\n    guards with if(gm) at gss_mech_switch.c:342), so it is safe\n    to call on a partially decoded svc_cred where only\n    cr_uid/cr_gid/cr_group_info have been written and everything\n    else is zero from kzalloc.\n  - In gssx_dec_linux_creds()'s out_free_groups: path, release\n    cr_group_info with put_group_info() rather than groups_free()\n    so the teardown matches free_svc_cred()'s refcount-aware path,\n    and clear the pointer so a later free_svc_cred() on the same\n    creds does not release it a second time.","published_at":"2026-09-11T20:19:37.670000Z","modified_at":"2026-10-30T13:20:20.797000Z","first_seen_at":"2026-11-21T19:15:20.767255Z","severity":"high","severity_source":"nvd","cvss_score":7.5,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","cwe":[],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":0.00724,"epss_percentile":0.54977,"nvd_status":"Received","enriched_at":"2026-11-22T12:33:43.811762Z","links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-89544"},"matched_alias":null,"items":[{"id":2679,"source":{"id":"ubuntu-usn","name":"Ubuntu Security Notices"},"title":"USN-9167-2: Linux kernel vulnerabilities","summary":"Several security issues were discovered in the Linux kernel.\nAn attacker could possibly use these to compromise the system.\nThis update corrects flaws in the following subsystems:\n- Stream parser;\n- ARM64 architecture;\n- S390 architecture;\n- x86 architecture;\n- Drivers core;\n- Compressed RAM block device driver;\n- Bluetooth drivers;\n- GPIO subsystem;\n- GPU drivers;\n- HID subsystem;\n- Microsoft Hyper-V drivers;\n- Hardware monitoring drivers;\n- I2C subsystem;\n- I3C subsystem;\n- IIO subsystem;\n- IIO ADC drivers;\n- InfiniBand drivers;\n- Input Device (Mouse) drivers;\n- Input Device core drivers;\n- Multiple devices driver;\n- Media drivers;\n- MemoryStick subsystem;\n- MMC subsystem;\n- MTD block device drivers;\n- Network drivers;\n- Ethernet team driver;\n- NVME drivers;\n- Device tree and open firmware driver;\n- Operating Performance Points (OPP) driver;\n- Power supply drivers;\n- Voltage and Current Regulator drivers;\n- Real Time Clock drivers;\n- S/390 drivers;\n- SCSI subsystem;\n- Greybus lights staging drivers;\n- Realtek RTL8723BS SDIO drivers;\n- TCM subsystem;\n- Trusted Execution Environment drivers;\n- Thunderbolt and USB4 drivers;\n- TTY drivers;\n- Cadence USB3 driver;\n- USB Device Class drivers;\n- USB core drivers;\n- DesignWare USB2 driver;\n- DesignWare USB3 driver;\n- USB Gadget drivers;\n- USB Host Controller drivers;\n- USB Serial drivers;\n- USB Mass Storage drivers;\n- USB Type-C Port Controller Manager driver;\n- TI TPS6598x USB Power Delivery controller driver;\n- Amazon Nitro Enclaves driver;\n- Watchdog drivers;\n- File systems infrastructure;\n- BTRFS file system;\n- Ceph distributed file system;\n- F2FS file system;\n- Network file system (NFS) server daemon;\n- File system notification infrastructure;\n- OCFS2 file system;\n- SMB network file system;\n- XFS file system;\n- Tracing infrastructure;\n- Kernel futex primitives;\n- VLANs driver;\n- Key management;\n- Key Management;\n- KProbes tracing;\n- Memory management;\n- VMware vSockets driver;\n- Bluetooth subsystem;\n- Netfilter;\n- TCP network protocol;\n- io_uring subsystem;\n- Audit subsystem;\n- BPF subsystem;\n- Perf events;\n- Kernel command line parsing driver;\n- Timer subsystem;\n- Watch queue notification mechanism;\n- Workqueue subsystem;\n- Ethernet bridge;\n- Networking core;\n- HSR network protocol;\n- IPv4 networking;\n- IPv6 networking;\n- IUCV driver;\n- MAC80211 subsystem;\n- Management Component Transport Protocol (MCTP);\n- Netlink;\n- Open vSwitch;\n- Packet sockets;\n- RDS protocol;\n- Network traffic control;\n- SCTP protocol;\n- SMC sockets;\n- Sun RPC protocol;\n- TIPC protocol;\n- TLS protocol;\n- Wireless networking;\n- AppArmor security module;\n- SELinux security module;\n- ALSA framework;\n- Analog Devices audio codecs;\n- QCOM ASoC drivers;\n- Samsung ASoC drivers;\n- USB sound devices;\n- Virtio sound driver;\n(CVE-2022-49622, CVE-2022-50167, CVE-2023-52561, CVE-2023-53651,\nCVE-2023-53733, CVE-2024-49901, CVE-2025-38728, CVE-2025-40135,\nCVE-2026-31678, CVE-2026-46265, CVE-2026-53353, CVE-2026-64015,\nCVE-2026-64190, CVE-2026-74341, CVE-2026-74405, CVE-2026-74406,\nCVE-2026-74672, CVE-2026-74739, CVE-2026-80572, CVE-2026-80851,\nCVE-2026-80852, CVE-2026-80861, CVE-2026-80947, CVE-2026-89441,\nCVE-2026-89465, CVE-2026-89481, CVE-2026-89492, CVE-2026-89539,\nCVE-2026-89544, CVE-2026-89552, CVE-2026-89553, CVE-2026-89625,\nCVE-2026-89633, CVE-2026-89638, CVE-2026-89640, CVE-2026-89652,\nCVE-2026-89672, CVE-2026-89680, CVE-2026-89685, CVE-2026-89693,\nCVE-2026-89702, CVE-2026-89707, CVE-2026-89719, CVE-2026-89738,\nCVE-2026-89740, CVE-2026-89744, CVE-2026-89761, CVE-2026-89763,\nCVE-2026-89837, CVE-2026-89838, CVE-2026-89848, CVE-2026-89859,\nCVE-2026-89860, CVE-2026-89870, CVE-2026-89877, CVE-2026-89912,\nCVE-2026-89921, CVE-2026-89972, CVE-2026-89987, CVE-2026-89988,\nCVE-2026-90002, CVE-2026-90016, CVE-2026-90023, CVE-2026-90029,\nCVE-2026-90093, CVE-2026-93179, CVE-2026-93199, CVE-2026-93200,\nCVE-2026-93231, CVE-2026-93239, CVE-2026-93285, CVE-2026-97529,\nCVE-2026-97530, CVE-2026-97532, CVE-2026-97536, CVE-2026-975…","url":"https://ubuntu.com/security/notices/USN-9167-2","published_at":"2026-11-20T15:33:37Z","updated_at":"2026-11-20T15:33:37Z","fetched_at":"2026-11-21T19:15:20.738938Z","severity":"critical","cvss_score":9.8,"epss":0.01599,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"microsoft","product":null,"vuln_id":"CVE-2022-49622","vuln_ids":["CVE-2022-49622","CVE-2022-50167","CVE-2023-52561","CVE-2023-53651","CVE-2023-53733","CVE-2024-49901","CVE-2025-38728","CVE-2025-40135","CVE-2026-31678","CVE-2026-46265","CVE-2026-53353","CVE-2026-64015","CVE-2026-64190","CVE-2026-74341","CVE-2026-74405","CVE-2026-74406","CVE-2026-74672","CVE-2026-74739","CVE-2026-80572","CVE-2026-80851","CVE-2026-80852","CVE-2026-80861","CVE-2026-80947","CVE-2026-89441","CVE-2026-89465","CVE-2026-89481","CVE-2026-89492","CVE-2026-89539","CVE-2026-89544","CVE-2026-89552","CVE-2026-89553","CVE-2026-89625","CVE-2026-89633","CVE-2026-89638","CVE-2026-89640","CVE-2026-89652","CVE-2026-89672","CVE-2026-89680","CVE-2026-89685","CVE-2026-89693","CVE-2026-89702","CVE-2026-89707","CVE-2026-89719","CVE-2026-89738","CVE-2026-89740","CVE-2026-89744","CVE-2026-89761","CVE-2026-89763","CVE-2026-89837","CVE-2026-89838","CVE-2026-89848","CVE-2026-89859","CVE-2026-89860","CVE-2026-89870","CVE-2026-89877","CVE-2026-89912","CVE-2026-89921","CVE-2026-89972","CVE-2026-89987","CVE-2026-89988","CVE-2026-90002","CVE-2026-90016","CVE-2026-90023","CVE-2026-90029","CVE-2026-90093","CVE-2026-93179","CVE-2026-93199","CVE-2026-93200","CVE-2026-93231","CVE-2026-93239","CVE-2026-93285","CVE-2026-97529","CVE-2026-97530","CVE-2026-97532","CVE-2026-97536","USN-9167-2"],"tags":[],"cluster_id":2682,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/2679","html":"https://vulnwatch.ve1ve2.com/item/2679"}}]}