{
  "cveId": "CVE-2024-46678",
  "url": "https://patchblox.com/security/cve/CVE-2024-46678",
  "summary": "CVE-2024-46678 is fixed in 26 products on 1 platform, first by DEBIAN-CVE-2024-46678, released September 13, 2024. It is not reported as exploited. Patch Radar priority: Routine.",
  "title": "bonding: change ipsec_lock from spin lock to mutex",
  "description": "In the Linux kernel, the following vulnerability has been resolved:  bonding: change ipsec_lock from spin lock to mutex  In the cited commit, bond-\u003Eipsec_lock is added to protect ipsec_list, hence xdo_dev_state_add and xdo_dev_state_delete are called inside this lock. As ipsec_lock is a spin lock and such xfrmdev ops may sleep, \u0022scheduling while atomic\u0022 will be triggered when changing bond\u0027s active slave.  [  101.055189] BUG: scheduling while atomic: bash/902/0x00000200 [  101.055726] Modules linked in: [  101.058211] CPU: 3 PID: 902 Comm: bash Not tainted 6.9.0-rc4\u002B #1 [  101.058760] Hardware name: [  101.059434] Call Trace: [  101.059436]  \u003CTASK\u003E [  101.060873]  dump_stack_lvl\u002B0x51/0x60 [  101.061275]  __schedule_bug\u002B0x4e/0x60 [  101.061682]  __schedule\u002B0x612/0x7c0 [  101.062078]  ? __mod_timer\u002B0x25c/0x370 [  101.062486]  schedule\u002B0x25/0xd0 [  101.062845]  schedule_timeout\u002B0x77/0xf0 [  101.063265]  ? asm_common_interrupt\u002B0x22/0x40 [  101.063724]  ? __bpf_trace_itimer_state\u002B0x10/0x10 [  101.064215]  __wait_for_common\u002B0x87/0x190 [  101.064648]  ? usleep_range_state\u002B0x90/0x90 [  101.065091]  cmd_exec\u002B0x437/0xb20 [mlx5_core] [  101.065569]  mlx5_cmd_do\u002B0x1e/0x40 [mlx5_core] [  101.066051]  mlx5_cmd_exec\u002B0x18/0x30 [mlx5_core] [  101.066552]  mlx5_crypto_create_dek_key\u002B0xea/0x120 [mlx5_core] [  101.067163]  ? bonding_sysfs_store_option\u002B0x4d/0x80 [bonding] [  101.067738]  ? kmalloc_trace\u002B0x4d/0x350 [  101.068156]  mlx5_ipsec_create_sa_ctx\u002B0x33/0x100 [mlx5_core] [  101.068747]  mlx5e_xfrm_add_state\u002B0x47b/0xaa0 [mlx5_core] [  101.069312]  bond_change_active_slave\u002B0x392/0x900 [bonding] [  101.069868]  bond_option_active_slave_set\u002B0x1c2/0x240 [bonding] [  101.070454]  __bond_opt_set\u002B0xa6/0x430 [bonding] [  101.070935]  __bond_opt_set_notify\u002B0x2f/0x90 [bonding] [  101.071453]  bond_opt_tryset_rtnl\u002B0x72/0xb0 [bonding] [  101.071965]  bonding_sysfs_store_option\u002B0x4d/0x80 [bonding] [  101.072567]  kernfs_fop_write_iter\u002B0x10c/0x1a0 [  101.073033]  vfs_write\u002B0x2d8/0x400 [  101.073416]  ? alloc_fd\u002B0x48/0x180 [  101.073798]  ksys_write\u002B0x5f/0xe0 [  101.074175]  do_syscall_64\u002B0x52/0x110 [  101.074576]  entry_SYSCALL_64_after_hwframe\u002B0x4b/0x53  As bond_ipsec_add_sa_all and bond_ipsec_del_sa_all are only called from bond_change_active_slave, which requires holding the RTNL lock. And bond_ipsec_add_sa and bond_ipsec_del_sa are xfrm state xdo_dev_state_add and xdo_dev_state_delete APIs, which are in user context. So ipsec_lock doesn\u0027t have to be spin lock, change it to mutex, and thus the above issue can be resolved.",
  "published": "2024-09-13T06:15:12Z",
  "severity": "Moderate",
  "cvss": 5.5,
  "cvssVector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
  "cwe": "Improper Locking",
  "epss": 0.00174,
  "epssPercentile": 0.06953,
  "priority": "Routine",
  "priorityTier": 4,
  "exploited": false,
  "vendorExploited": false,
  "disclosed": false,
  "vendorAdvisory": "https://msrc.microsoft.com/update-guide/vulnerability/CVE-2024-46678",
  "fixes": [
    {
      "platform": "linux",
      "product": "dtb-aarch64",
      "release": "opensuse-leap 15.6",
      "fixedVersion": "6.4.0-150600.23.30.1",
      "fix": "SUSE-SU-2024:4318-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2024-4318-1",
      "released": "2024-12-13T15:33:38Z"
    },
    {
      "platform": "linux",
      "product": "kernel-64kb",
      "release": "opensuse-leap 15.6",
      "fixedVersion": "6.4.0-150600.23.30.1",
      "fix": "SUSE-SU-2024:4318-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2024-4318-1",
      "released": "2024-12-13T15:33:38Z"
    },
    {
      "platform": "linux",
      "product": "kernel-64kb",
      "release": "sles 15.6",
      "fixedVersion": "6.4.0-150600.23.30.1",
      "fix": "SUSE-SU-2024:4318-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2024-4318-1",
      "released": "2024-12-13T15:33:38Z"
    },
    {
      "platform": "linux",
      "product": "kernel-azure",
      "release": "opensuse-leap 15.6",
      "fixedVersion": "6.4.0-150600.8.17.2",
      "fix": "SUSE-SU-2024:3984-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2024-3984-1",
      "released": "2024-11-13T10:13:12Z"
    },
    {
      "platform": "linux",
      "product": "kernel-azure",
      "release": "sles 15.6",
      "fixedVersion": "6.4.0-150600.8.17.2",
      "fix": "SUSE-SU-2024:3984-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2024-3984-1",
      "released": "2024-11-13T10:13:12Z"
    },
    {
      "platform": "linux",
      "product": "kernel-coco",
      "release": "sles 15.6",
      "fixedVersion": "6.4.0-15061.9.coco15sp6.1",
      "fix": "SUSE-SU-2024:4387-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2024-4387-1",
      "released": "2024-12-19T15:39:02Z"
    },
    {
      "platform": "linux",
      "product": "kernel-coco_debug",
      "release": "sles 15.6",
      "fixedVersion": "6.4.0-15061.9.coco15sp6.1",
      "fix": "SUSE-SU-2024:4387-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2024-4387-1",
      "released": "2024-12-19T15:39:02Z"
    },
    {
      "platform": "linux",
      "product": "kernel-debug",
      "release": "opensuse-leap 15.6",
      "fixedVersion": "6.4.0-150600.23.30.1",
      "fix": "SUSE-SU-2024:4318-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2024-4318-1",
      "released": "2024-12-13T15:33:38Z"
    },
    {
      "platform": "linux",
      "product": "kernel-default",
      "release": "opensuse-leap 15.6",
      "fixedVersion": "6.4.0-150600.23.30.1",
      "fix": "SUSE-SU-2024:4318-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2024-4318-1",
      "released": "2024-12-13T15:33:38Z"
    },
    {
      "platform": "linux",
      "product": "kernel-default",
      "release": "sles 15.6",
      "fixedVersion": "6.4.0-150600.23.30.1",
      "fix": "SUSE-SU-2024:4318-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2024-4318-1",
      "released": "2024-12-13T15:33:38Z"
    },
    {
      "platform": "linux",
      "product": "kernel-default-base",
      "release": "opensuse-leap 15.6",
      "fixedVersion": "6.4.0-150600.23.30.1.150600.12.12.6",
      "fix": "SUSE-SU-2024:4318-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2024-4318-1",
      "released": "2024-12-13T15:33:38Z"
    },
    {
      "platform": "linux",
      "product": "kernel-default-base",
      "release": "sles 15.6",
      "fixedVersion": "6.4.0-150600.23.30.1.150600.12.12.6",
      "fix": "SUSE-SU-2024:4318-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2024-4318-1",
      "released": "2024-12-13T15:33:38Z"
    },
    {
      "platform": "linux",
      "product": "kernel-docs",
      "release": "opensuse-leap 15.6",
      "fixedVersion": "6.4.0-150600.23.30.1",
      "fix": "SUSE-SU-2024:4318-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2024-4318-1",
      "released": "2024-12-13T15:33:38Z"
    },
    {
      "platform": "linux",
      "product": "kernel-docs",
      "release": "sles 15.6",
      "fixedVersion": "6.4.0-150600.23.30.1",
      "fix": "SUSE-SU-2024:4318-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2024-4318-1",
      "released": "2024-12-13T15:33:38Z"
    },
    {
      "platform": "linux",
      "product": "kernel-kvmsmall",
      "release": "opensuse-leap 15.6",
      "fixedVersion": "6.4.0-150600.23.30.1",
      "fix": "SUSE-SU-2024:4318-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2024-4318-1",
      "released": "2024-12-13T15:33:38Z"
    },
    {
      "platform": "linux",
      "product": "kernel-livepatch-SLE15-SP6-RT_Update_5",
      "release": "sles 15.6",
      "fixedVersion": "1-150600.1.3.1",
      "fix": "SUSE-SU-2024:3986-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2024-3986-1",
      "released": "2024-11-13T10:13:55Z"
    },
    {
      "platform": "linux",
      "product": "kernel-livepatch-SLE15-SP6_Update_6",
      "release": "sles 15.6",
      "fixedVersion": "1-150600.13.3.5",
      "fix": "SUSE-SU-2024:4318-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2024-4318-1",
      "released": "2024-12-13T15:33:38Z"
    },
    {
      "platform": "linux",
      "product": "kernel-obs-build",
      "release": "opensuse-leap 15.6",
      "fixedVersion": "6.4.0-150600.23.30.1",
      "fix": "SUSE-SU-2024:4318-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2024-4318-1",
      "released": "2024-12-13T15:33:38Z"
    },
    {
      "platform": "linux",
      "product": "kernel-obs-build",
      "release": "sles 15.6",
      "fixedVersion": "6.4.0-150600.23.30.1",
      "fix": "SUSE-SU-2024:4318-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2024-4318-1",
      "released": "2024-12-13T15:33:38Z"
    },
    {
      "platform": "linux",
      "product": "kernel-obs-qa",
      "release": "opensuse-leap 15.6",
      "fixedVersion": "6.4.0-150600.23.30.1",
      "fix": "SUSE-SU-2024:4318-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2024-4318-1",
      "released": "2024-12-13T15:33:38Z"
    },
    {
      "platform": "linux",
      "product": "kernel-rt",
      "release": "opensuse-leap 15.6",
      "fixedVersion": "6.4.0-150600.10.17.1",
      "fix": "SUSE-SU-2024:3986-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2024-3986-1",
      "released": "2024-11-13T10:13:55Z"
    },
    {
      "platform": "linux",
      "product": "kernel-rt_debug",
      "release": "opensuse-leap 15.6",
      "fixedVersion": "6.4.0-150600.10.17.1",
      "fix": "SUSE-SU-2024:3986-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2024-3986-1",
      "released": "2024-11-13T10:13:55Z"
    },
    {
      "platform": "linux",
      "product": "kernel-source",
      "release": "opensuse-leap 15.6",
      "fixedVersion": "6.4.0-150600.23.30.1",
      "fix": "SUSE-SU-2024:4318-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2024-4318-1",
      "released": "2024-12-13T15:33:38Z"
    },
    {
      "platform": "linux",
      "product": "kernel-source",
      "release": "sles 15.6",
      "fixedVersion": "6.4.0-150600.23.30.1",
      "fix": "SUSE-SU-2024:4318-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2024-4318-1",
      "released": "2024-12-13T15:33:38Z"
    },
    {
      "platform": "linux",
      "product": "kernel-source-azure",
      "release": "opensuse-leap 15.6",
      "fixedVersion": "6.4.0-150600.8.17.1",
      "fix": "SUSE-SU-2024:3984-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2024-3984-1",
      "released": "2024-11-13T10:13:12Z"
    },
    {
      "platform": "linux",
      "product": "kernel-source-azure",
      "release": "sles 15.6",
      "fixedVersion": "6.4.0-150600.8.17.1",
      "fix": "SUSE-SU-2024:3984-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2024-3984-1",
      "released": "2024-11-13T10:13:12Z"
    },
    {
      "platform": "linux",
      "product": "kernel-source-coco",
      "release": "sles 15.6",
      "fixedVersion": "6.4.0-15061.9.coco15sp6.1",
      "fix": "SUSE-SU-2024:4387-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2024-4387-1",
      "released": "2024-12-19T15:39:02Z"
    },
    {
      "platform": "linux",
      "product": "kernel-source-rt",
      "release": "opensuse-leap 15.6",
      "fixedVersion": "6.4.0-150600.10.17.1",
      "fix": "SUSE-SU-2024:3986-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2024-3986-1",
      "released": "2024-11-13T10:13:55Z"
    },
    {
      "platform": "linux",
      "product": "kernel-syms",
      "release": "opensuse-leap 15.6",
      "fixedVersion": "6.4.0-150600.23.30.1",
      "fix": "SUSE-SU-2024:4318-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2024-4318-1",
      "released": "2024-12-13T15:33:38Z"
    },
    {
      "platform": "linux",
      "product": "kernel-syms",
      "release": "sles 15.6",
      "fixedVersion": "6.4.0-150600.23.30.1",
      "fix": "SUSE-SU-2024:4318-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2024-4318-1",
      "released": "2024-12-13T15:33:38Z"
    },
    {
      "platform": "linux",
      "product": "kernel-syms-azure",
      "release": "opensuse-leap 15.6",
      "fixedVersion": "6.4.0-150600.8.17.1",
      "fix": "SUSE-SU-2024:3984-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2024-3984-1",
      "released": "2024-11-13T10:13:12Z"
    },
    {
      "platform": "linux",
      "product": "kernel-syms-azure",
      "release": "sles 15.6",
      "fixedVersion": "6.4.0-150600.8.17.1",
      "fix": "SUSE-SU-2024:3984-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2024-3984-1",
      "released": "2024-11-13T10:13:12Z"
    },
    {
      "platform": "linux",
      "product": "kernel-syms-coco",
      "release": "sles 15.6",
      "fixedVersion": "6.4.0-15061.9.coco15sp6.1",
      "fix": "SUSE-SU-2024:4387-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2024-4387-1",
      "released": "2024-12-19T15:39:02Z"
    },
    {
      "platform": "linux",
      "product": "kernel-syms-rt",
      "release": "opensuse-leap 15.6",
      "fixedVersion": "6.4.0-150600.10.17.1",
      "fix": "SUSE-SU-2024:3986-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2024-3986-1",
      "released": "2024-11-13T10:13:55Z"
    },
    {
      "platform": "linux",
      "product": "kernel-zfcpdump",
      "release": "opensuse-leap 15.6",
      "fixedVersion": "6.4.0-150600.23.30.1",
      "fix": "SUSE-SU-2024:4318-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2024-4318-1",
      "released": "2024-12-13T15:33:38Z"
    },
    {
      "platform": "linux",
      "product": "kernel-zfcpdump",
      "release": "sles 15.6",
      "fixedVersion": "6.4.0-150600.23.30.1",
      "fix": "SUSE-SU-2024:4318-1",
      "url": "https://patchblox.com/security/fix/linux/suse-su-2024-4318-1",
      "released": "2024-12-13T15:33:38Z"
    },
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 13.5 (trixie)",
      "fixedVersion": "6.10.9-1",
      "fix": "DEBIAN-CVE-2024-46678",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2024-46678",
      "released": "2024-09-13T06:15:12Z"
    },
    {
      "platform": "linux",
      "product": "linux",
      "release": "Debian 14",
      "fixedVersion": "6.10.9-1",
      "fix": "DEBIAN-CVE-2024-46678",
      "url": "https://patchblox.com/security/fix/linux/debian-cve-2024-46678",
      "released": "2024-09-13T06:15:12Z"
    }
  ],
  "noFixYet": [],
  "dataAsOf": "2026-11-08T19:12:23Z",
  "attribution": {
    "text": "Data: Patchblox Patch Radar",
    "url": "https://patchblox.com/security/patch-radar",
    "terms": "https://patchblox.com/security/patch-radar/use-the-data"
  }
}