Lucene search
K

Unity Linux 20.1060a Security Update: kernel (UTSA-2025-993192)

🗓️ 31 Dec 2025 00:00:00Reported by TenableType 
nessus
 nessus
🔗 www.tenable.com👁 2 Views

Linux kernel security update fixes lpuart dma shutdown to prevent DMA access after teardown.

Related
Refs
Code
#%NASL_MIN_LEVEL 80900
##
# (C) Tenable, Inc.
##

include('compat.inc');

if (description)
{
  script_id(281234);
  script_version("1.1");
  script_set_attribute(attribute:"plugin_modification_date", value:"2025/12/31");

  script_cve_id("CVE-2022-50375");

  script_name(english:"Unity Linux 20.1060a Security Update: kernel (UTSA-2025-993192)");

  script_set_attribute(attribute:"synopsis", value:
"The Unity Linux host is missing one or more security updates.");
  script_set_attribute(attribute:"description", value:
"The Unity Linux 20 host has a package installed that is affected by a vulnerability as referenced in the
UTSA-2025-993192 advisory.

    In the Linux kernel, the following vulnerability has been resolved:

    tty: serial: fsl_lpuart: disable dma rx/tx use flags in lpuart_dma_shutdown

    lpuart_dma_shutdown tears down lpuart dma, but lpuart_flush_buffer can
    still occur which in turn tries to access dma apis if lpuart_dma_tx_use
    flag is true. At this point since dma is torn down, these dma apis can
    abort. Set lpuart_dma_tx_use and the corresponding rx flag
    lpuart_dma_rx_use to false in lpuart_dma_shutdown so that dmas are not
    accessed after they are relinquished.

    Otherwise, when try to kill btattach, kernel may panic. This patch may
    fix this issue.
    root@imx8ulpevk:~# btattach -B /dev/ttyLP2 -S 115200
    ^C[   90.182296] Internal error: synchronous external abort: 96000210 [#1] PREEMPT SMP
    [   90.189806] Modules linked in: moal(O) mlan(O)
    [   90.194258] CPU: 0 PID: 503 Comm: btattach Tainted: G           O      5.15.32-06136-g34eecdf2f9e4 #37
    [   90.203554] Hardware name: NXP i.MX8ULP 9X9 EVK (DT)
    [   90.208513] pstate: 600000c5 (nZCv daIF -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
    [   90.215470] pc : fsl_edma3_disable_request+0x8/0x60
    [   90.220358] lr : fsl_edma3_terminate_all+0x34/0x20c
    [   90.225237] sp : ffff800013f0bac0
    [   90.228548] x29: ffff800013f0bac0 x28: 0000000000000001 x27: ffff000008404800
    [   90.235681] x26: ffff000008404960 x25: ffff000008404a08 x24: ffff000008404a00
    [   90.242813] x23: ffff000008404a60 x22: 0000000000000002 x21: 0000000000000000
    [   90.249946] x20: ffff800013f0baf8 x19: ffff00000559c800 x18: 0000000000000000
    [   90.257078] x17: 0000000000000000 x16: 0000000000000000 x15: 0000000000000000
    [   90.264211] x14: 0000000000000003 x13: 0000000000000000 x12: 0000000000000040
    [   90.271344] x11: ffff00000600c248 x10: ffff800013f0bb10 x9 : ffff000057bcb090
    [   90.278477] x8 : fffffc0000241a08 x7 : ffff00000534ee00 x6 : ffff000008404804
    [   90.285609] x5 : 0000000000000000 x4 : 0000000000000000 x3 : ffff0000055b3480
    [   90.292742] x2 : ffff8000135c0000 x1 : ffff00000534ee00 x0 : ffff00000559c800
    [   90.299876] Call trace:
    [   90.302321]  fsl_edma3_disable_request+0x8/0x60
    [   90.306851]  lpuart_flush_buffer+0x40/0x160
    [   90.311037]  uart_flush_buffer+0x88/0x120
    [   90.315050]  tty_driver_flush_buffer+0x20/0x30
    [   90.319496]  hci_uart_flush+0x44/0x90
    [   90.323162]  +0x34/0x12c
    [   90.327253]  tty_ldisc_close+0x38/0x70
    [   90.331005]  tty_ldisc_release+0xa8/0x190
    [   90.335018]  tty_release_struct+0x24/0x8c
    [   90.339022]  tty_release+0x3ec/0x4c0
    [   90.342593]  __fput+0x70/0x234
    [   90.345652]  ____fput+0x14/0x20
    [   90.348790]  task_work_run+0x84/0x17c
    [   90.352455]  do_exit+0x310/0x96c
    [   90.355688]  do_group_exit+0x3c/0xa0
    [   90.359259]  __arm64_sys_exit_group+0x1c/0x20
    [   90.363609]  invoke_syscall+0x48/0x114
    [   90.367362]  el0_svc_common.constprop.0+0xd4/0xfc
    [   90.372068]  do_el0_svc+0x2c/0x94
    [   90.375379]  el0_svc+0x28/0x80
    [   90.378438]  el0t_64_sync_handler+0xa8/0x130
    [   90.382711]  el0t_64_sync+0x1a0/0x1a4
    [   90.386376] Code: 17ffffda d503201f d503233f f9409802 (b9400041)
    [   90.392467] ---[ end trace 2f60524b4a43f1f6 ]---
    [   90.397073] note: btattach[503] exited with preempt_count 1
    [   90.402636] Fixing recursive fault but reboot is needed!

Tenable has extracted the preceding description block directly from the Unity Linux security advisory.

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version
number.");
  # https://src.uniontech.com/#/security_advisory_detail?utsa_id=UTSA-2025-993192
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?541b8790");
  # https://lore.kernel.org/linux-cve-announce/2025091848-CVE-2022-50375-2409@gregkh
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?3d7adda7");
  script_set_attribute(attribute:"see_also", value:"https://nvd.nist.gov/vuln/detail/CVE-2022-50375");
  script_set_attribute(attribute:"solution", value:
"Update the affected kernel package.");
  script_set_cvss_base_vector("CVSS2#AV:L/AC:L/Au:S/C:N/I:N/A:C");
  script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
  script_set_cvss3_base_vector("CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H");
  script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/RC:C");
  script_set_attribute(attribute:"cvss_score_source", value:"CVE-2022-50375");

  script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
  script_set_attribute(attribute:"exploit_available", value:"false");

  script_set_attribute(attribute:"vuln_publication_date", value:"2021/09/04");
  script_set_attribute(attribute:"patch_publication_date", value:"2025/12/31");
  script_set_attribute(attribute:"plugin_publication_date", value:"2025/12/31");

  script_set_attribute(attribute:"plugin_type", value:"local");
  script_set_attribute(attribute:"generated_plugin", value:"current");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"Unity Linux Local Security Checks");

  script_copyright(english:"This script is Copyright (C) 2025 and is owned by Tenable, Inc. or an Affiliate thereof.");

  script_dependencies("ssh_get_info2.nasl");
  script_require_keys("Host/local_checks_enabled", "Host/UOS-Server/release", "Host/UOS-Server/rpm-list", "Host/cpu");

  exit(0);
}
include('rpm2.inc');

if (!get_kb_item('Host/local_checks_enabled')) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
var os_product = get_kb_item('installed_os/local/SSH/0/product');
if (isnull(os_product) || 'UOS Server' >!< os_product) audit(AUDIT_OS_NOT, 'UOS Server');
var os_version = get_kb_item('installed_os/local/SSH/0/version');
if (isnull(os_version)) audit(AUDIT_UNKNOWN_APP_VER, 'UOS Server');
if (! preg(pattern:"^20.1060a([^0-9]|$)", string:os_version)) audit(AUDIT_OS_NOT, 'UOS Server 20.1060a', 'UOS Server ' + os_version);

if (!get_kb_item('Host/UOS-Server/rpm-list')) audit(AUDIT_PACKAGE_LIST_MISSING);

var cpu = get_kb_item('Host/cpu');
if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH);
if ('aarch64' >!< cpu && 'amd64' >!< cpu && 'x86_64' >!< cpu) audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, 'UOS Server', cpu);


var constraints = [
  {
    'release': '20',
    'sp': '1060a',
    'pkgs': [
      {'reference':'kernel-5.10.0-46.38', 'sp':'1060a', 'cpu':'aarch64', 'rpm_spec_vers_cmp':TRUE},
      {'reference':'kernel-5.10.0-46.38', 'sp':'1060a', 'cpu':'amd64', 'rpm_spec_vers_cmp':TRUE},
      {'reference':'kernel-5.10.0-46.38', 'sp':'1060a', 'cpu':'x86_64', 'rpm_spec_vers_cmp':TRUE}
    ]
  }
];

var os_release = get_one_kb_item('installed_os/local/SSH/0/release');
var os_sp = get_one_kb_item('Host/*/minor_release');

var flag = 0;
var reference;
var sp;
var _cpu;
var el_string;
var rpm_spec_vers_cmp;
var epoch;
var allowmaj;
var exists_check;
var cves;
foreach var constraint ( constraints ) {
  # Check that the target release is equal to the affected release
  if (!empty_or_null(constraint['release'])){
    if (constraint['release'] != os_release) continue;
  }
  if (!empty_or_null(constraint['sp'])){
    if (constraint['sp'] != os_sp) continue;
  }
  foreach var pkg ( constraint['pkgs'] ) {
    reference = NULL;
    sp = NULL;
    _cpu = NULL;
    el_string = NULL;
    rpm_spec_vers_cmp = NULL;
    epoch = NULL;
    allowmaj = NULL;
    exists_check = NULL;
    cves = NULL;
    if (!empty_or_null(pkg['reference'])) reference = pkg['reference'];
    if (!empty_or_null(pkg['sp'])) sp = pkg['sp'];
    if (!empty_or_null(pkg['cpu'])) _cpu = pkg['cpu'];
    if (!empty_or_null(pkg['el_string'])) el_string = pkg['el_string'];
    if (!empty_or_null(pkg['rpm_spec_vers_cmp'])) rpm_spec_vers_cmp = pkg['rpm_spec_vers_cmp'];
    if (!empty_or_null(pkg['epoch'])) epoch = pkg['epoch'];
    if (!empty_or_null(pkg['allowmaj'])) allowmaj = pkg['allowmaj'];
    if (!empty_or_null(pkg['exists_check'])) exists_check = pkg['exists_check'];
    if (!empty_or_null(pkg['cves'])) cves = pkg['cves'];
    if (reference &&
        ## (no known rpm to check OR known rpm_exists)
        (!exists_check || rpm_exists(rpm:exists_check)) &&
        rpm_check(sp:sp, cpu:_cpu, reference:reference, epoch:epoch, el_string:el_string, rpm_spec_vers_cmp:rpm_spec_vers_cmp, allowmaj:allowmaj, cves:cves)) flag++;
  }
}


if (flag)
{
  security_report_v4(
      port       : 0,
      severity   : SECURITY_WARNING,
      extra      : rpm_report_get()
  );
  exit(0);
}
else
{
  var tested = pkg_tests_get();
  if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
  else audit(AUDIT_PACKAGE_NOT_INSTALLED, 'kernel');
}

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

31 Dec 2025 00:00Current
5.8Medium risk
Vulners AI Score5.8
CVSS 3.15.5
EPSS0.00146
SSVC
2