총 15,720건
CVE-2026-139157
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: nvmet: use the enabled transport when disabling a port nvmet_disable_port() looks up the transport from the current disc_addr.trtype, while nvmet_enable_port() records the transport in port->tr_ops. If trtype is changed while a port is being enabled, the port can be removed through a different transport, passing the private data of the original transport to the wrong ->remove_port(). The same mismatch is reachable with loop and RDMA: loop add_port() leaves port->priv NULL, and RDMA remove_port() dereferences it. Use port->tr_ops for removal and serialize trtype changes with nvmet_config_sem in nvmet_addr_trtype_store(), so the transport that added the port is also the one that removes it.
CVE-2026-139156
2026년 11월 30일리눅스 커널에서 다음 취약점이 해결되었습니다: nvme-rdma: T10-PI와 함께 NULL metadata_sgl 역참조 수정 커밋 2a8513091d2f("nvme-rdma: parallelize I/O queue allocation startup") 이후 I/O 태그 세트가 I/O 큐보다 먼저 할당됩니다. nvme_rdma_init_request()는 queue->pi_support가 설정된 경우에만 req->metadata_sgl를 설정하지만 pi_support는 나중에 nvme_rdma_alloc_queue()에 의해 설정되므로 모든 I/O 요청은 NULL metadata_sgl를 남게 됩니다. 무결성을 지원하는 RDMA 디바이스와 보호 정보로 포맷된 네임스페이스가 있을 경우, nvme_rdma_dma_map_req()는 첫 번째 무결성 I/O에서 NULL 포인터를 역참조하게 되며, 이미 네임스페이스 스캔 중에 큐가 하나 이상 있을 때 발생합니다. 나중에 재연결로 처음 추가되는 큐도 동일한 문제가 있습니다. 큐 인덱스와 컨트롤러의 max_integrity_segments를 확인하십시오. 이것이 nvme_rdma_alloc_queue()가 pi_support를 파생시키는 방식입니다.
CVE-2026-139155
번역 확인 필요2026년 11월 30일리눅스 커널에서 다음 취약점이 해결되었습니다: nvmet-auth: 협상을 위해 AUTH_Negotiate만 사용 nvmet_execute_auth_send()가 공용 타입 메시지를 nvmet_auth_negotiate()에 전달하는 경우 ID가 AUTH_Negotiate이거나 큐가 놓여 있는 단계와 일치합니다. 두 번째 경우는 잘못됩니다: 호스트가 보내는 다른 공용 타입 메시지는 AUTH_Failure2뿐이며, 그 단계에서 큐가 기다리지 않습니다. 다만 호스트가 그 단계를 의도적으로 지정하고, 그 메시지가 새 거래에 수반되는 작업 없이 새로운 AUTH_Negotiate로 처리되면, 관리자 큐의 키를 다시 로드하는 등의 작업이 생길 수 있습니다. 다른 모든 공용 타입 메시지는 실패로 간주해야 합니다(AUTH_Failure2는 이미 실패로 처리됩니다). 해당 취약점으로 인해 AUTH_Failure2에 대한 처리가 이미 실패로 간주되므로 다른 모든 공용 타입 메시지는 실패로 처리합니다.
CVE-2026-139154
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: nvmet: fix NULL dereference of PCI endpoint targets nvmet_pci_epf_create_ctrl() calls nvmet_alloc_ctrl() without a queue, the admin queue comes later from the host. nvmet_alloc_ctrl() passes args->sq to nvmet_queue_tls_keyid(), which with CONFIG_NVME_TARGET_TCP_TLS dereferences it, so every PCI endpoint controller creation crashes on such a kernel. The debugfs tls_key file passes ctrl->sqs[0] to the same function, which is NULL until the admin queue exists and again once a fabrics host has closed it while keeping an I/O queue. A queue that isn't there has no TLS key.
CVE-2026-139153
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: nvmet-tcp: stop listening when a port is removed nvmet_tcp_accept_work() accepts until there's nothing left. A connection that is already dead when accepted is torn down right there, which takes a few ms, and more can arrive meanwhile. nvmet_tcp_remove_port() waits for the work with cancel_work_sync(), so someone opening and closing connections in a loop keeps the removal from finishing. It holds nvmet_config_sem for writing, so nothing can be configured and no port answers a Connect until the flood stops. No secret needed, just an admin removing the port at the wrong time. Shut the listening socket down first. Pending connections are dropped, as they were on release, and the next kernel_accept() fails and ends the work.
CVE-2026-139152
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: nvmet-tcp: don't read a removed port at Connect time nvmet_tcp_alloc_cmd() takes the nvmet port of a command from queue->port, and the commands of a queue are allocated from the io work when the Connect arrives. nvmet_tcp_remove_port() shuts down the queues that have no controller yet and frees the port without waiting for them, they're released later from a work. An io work handling a Connect at that moment reads the freed port for every command of the queue and hands the result to the core. Note the nvmet port in the queue at allocation. It outlives the transport port.
CVE-2026-139151
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: nvmet-rdma: disable interrupts under rsp_wr_wait_lock rsp_wr_wait_lock protects the list of commands waiting for room in the send queue, and it's taken with plain spin_lock(). But nvmet_rdma_queue_response() calls nvmet_rdma_release_rsp() directly if ib_post_send() fails, and that processes the wait list. The call chain starts in nvmet_req_complete(), which for a block device namespace runs from the bio end_io callback, which can be in hard interrupt context. An interrupt that completes a command on a CPU holding the lock for the same queue spins forever. Lockdep over siw with a null_blk namespace: inconsistent {HARDIRQ-ON-W} -> {IN-HARDIRQ-W} usage Use spin_lock_irqsave() for both takers. The processing loop still drops the lock, and restores the caller's interrupt state, around nvmet_rdma_execute_command().
CVE-2026-139150
2026년 11월 30일리눅스 커널에서 다음 취약점이 해결되었다: nvmet-rdma: 실패한 RDMA WRITE 이후 이중 포착(double puts) 수정 T10-PI를 사용하는 읽기에 대해 RDMA WRITE가 단독으로 게시되고 nvmet_rdma_write_data_done()가 메타데이터 확인 결과를 알고 SEND를 한 번 게시한다. 이때 요청은 이미 완료되었고 참조가 낮겨진 상태이다: __nvmet_req_complete()가 ns->ref와 pc_ref를, nvmet_req_complete()가 sq->ref를 메시지 대기열에 응답을 대기하는 직후 해제한다. nvmet_rdma_write_data_done()의 에러 분기에서 nvmet_rdma_read_data_done()의 분기를 복사하고 nvmet_req_uninit()을 호출하여 세 개의 참조를 다시 해제한다. 연결이 읽기 중인 상태에서 WRITE가 실패하면 호스트에 따라 달라진다. 타이밍에 따라 sq->ref 카운트가 너무 빨리 0이 되어 큐가 남은 작업 중에 해제되거나, 0에 도달하지 않아 nvmet_sq_destroy()가 영구적으로 잠길 수 있거나, percpu_ref_put()이 percpu_ref_exit() 후 NULL을 역참조할 수 있다. ns->ref는 너무 낮은 상태로 남아 있어 네임스페이스를 비활성화하면 멈춘다. PI 경로를 강제하는 테스트 패치를 적용한 상태의 KASAN으로 재현되었다. nvmet_req_uninit()를 제거한다. 이 분기는 여전히 RDMA 컨텍스트와 응답을 해제하며, 이는 해당 시점에 요청이 소유한 전부이다.
CVE-2026-139149
2026년 11월 30일리눅스 커널에서 다음 취약점이 해결되었습니다: nvmet: sqsize 0인 연결에 대해 sq->ctrl을 지우지 않도록 함 nvmet_install_queue()가 먼저 sqsize를 검사하고 0일 때 err로 분기하는데, 이때 sq->ctrl은 NULL로 설정됩니다. 커밋 b71df12605ca 이후로 sq->ctrl을 설정하는 cmpxchg()가 검사 뒤에 오므로, 이로 인해 err가 이 호출이 만든 적이 없었던 바인드를 되돌립니다. RDMA를 통한 경우 호스트가 두 개의 Connect를 함께 보낼 수 있으며, 두 번째 연결이 첫 번째 연결이 실행되기 전에 구문 분석되므로 sqsize 0인 두 번째 Connect가 첫 번째가 설정한 sq->ctrl를 지웁니다. 그 참조가 해제되지 않고 제어기가 재부팅될 때까지 누수되며, cntlid를 포함합니다. 발견 서브시스템은 어떤 호스트든 이를 수행하도록 허용하므로 약 20개의 연결에서 약 10개의 컨트롤러가 누수됩니다. 이러한 대기 중인 AER이 큐에서 nvmet_sq_destroy()를 영구히 정지시키고, 재바인드 후에도 큐가 "인증됨" 마크를 유지할 수 있습니다. 직후의 두 검사에서처럼 상태를 직접 반환하므로, 이 호출의 cmpxchg()가 성공한 이후에만 err로 도달합니다.
CVE-2026-139148
2026년 11월 30일리눅스 커널에서 아래 취약점이 해결되었습니다: blk-cgroup: bio를 재연결하는 동안 기존의 blkg를 유지 bio_associate_blkg_from_css()는 css를 검색하기 전에 bio의 기존 blkg를 제거합니다. css는 bio가 아닌 blkg에 의해 고정되므로 cgroup이 사라지면 bio가 마지막 참조를 보유하게 되고 blkcg는 blkg_tryget_closest() 아래에서 해제될 수 있습니다. 그 전체 주위의 rcu_read_lock()은 457d3c4f0fdd 커밋까지 커버했으며, 그 커밋은 이를 제거했습니다. 새 블kg를 찾아 본 뒤에 기존 blkg를 배치합니다.
CVE-2026-139147
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: blk-iocost: free struct ioc after a grace period ioc_qos_prfill() and ioc_cost_model_prfill() take ioc->lock from blkcg_print_blkgs(), which since commit 56cc24f59c14 runs under RCU only. That covers the policy data, which is freed after a grace period, but not the ioc it points to: ioc_rqos_exit() frees that right away, and a concurrent read of io.cost.qos locks freed memory. Free the ioc with kfree_rcu_mightsleep().
CVE-2026-139146
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: blk-throttle: don't truncate the cgroup v1 iops limits tg_set_conf() parses the limit into a u64 and stores the iops ones through an unsigned int, so anything above UINT_MAX is truncated and a multiple of 2^32 becomes a limit of 0. The next IO of the group then divides by it in tg_within_iops_limit(). Clamp to UINT_MAX, which means no limit, like tg_set_limit() does on the default hierarchy.
CVE-2026-139145
2026년 11월 30일Linux 커널에서 다음 취약점이 해결되었습니다: blk-cgroup: punt 작업이 큐에 대기 중일 때 blkg를 해제하지 않도록 함 blkg_async_bio_workfn()은 리스트의 바이오가 blkg를 고정하고 있는지 의존합니다. 그러나 blkcg_punt_bio_submit()은 이미 실행 중인 인스턴스가 바이오를 가져가고 완료한 뒤에 queue_work()를 호출할 수 있으며, 같은 이유로 빈 리스트에서도 queue_work()가 성공합니다. 그때는 아무 것도 blkg를 보존하지 않으며, free_work가 async_bio_work와 메모리를 공유합니다. blkcg_punt_bio_submit()에서 참조를 보유하고, 두 작업에 각자의 메모리를 부여하며, blkg_free_workfn()에서 async_bio_work를 취소합니다.
CVE-2026-139144
2026년 11월 30일리눅스 커널에서 다음 취약점이 해결되었습니다: blk-iolatency: offline 상태로 전환된 후 enable_work를 플러시 blkcg_iolatency_exit()는 정책 비활성화 전에 enable_work를 플러시하지만 iolatency_pd_offline()가 대상이 있는 마지막 그룹에 대해 다시 예약하므로 blk_iolatency가 작업이 큐에 남은 채로 해제됩니다. 비활성화 후에 이를 플러시합니다.
CVE-2026-139143
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: block: don't enter reclaim under rq_qos_mutex ioc_qos_write() and the wbt_lat_usec writers take rq_qos_mutex with the queue frozen, blkcg_deactivate_policy() does the same with blkcg_mutex, so nothing holding either may wait for IO. blkg_conf_prep() got GFP_NOIO for the blkg in commit 5d726c4dbeed, but the radix_tree_preload() right after it, the policy init functions and the GFP_KERNEL fallback in blkcg_activate_policy() can still enter reclaim there. lockdep reports the cycle on the first write to io.max. Use GFP_NOIO for all of them.
CVE-2026-139142
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: net: bcmgenet: recover from a failed resume A resume that fails in bcmgenet_init_dma() returns with the interface still IFF_UP and the datapath gone. The next ifdown runs the teardown a second time and napi_disable() waits for a NAPI_STATE_SCHED bit that nothing will clear: task:ip state:D usleep_range_state+0xec/0x158 napi_disable_locked+0x254/0x318 napi_disable+0x3c/0x68 bcmgenet_netif_stop+0x1c8/0x318 bcmgenet_close+0x24/0xd0 __dev_close_many+0x18c/0x310 RTNL is held across the wait, so everything else blocks behind it. The same resume gates the clock and detaches the device. Close releases the clock a second time and ifup fails with -ENODEV. The hardware filters stay armed, so the next WoL suspend wakes on any frame. That suspend sets CMD_RX_EN for magic packet detection, so the WoL resume reuses rings that are gone. A failed resume should leave a state the ordinary paths can handle. Clear rx_cbs and tx_cbs as they are freed so they answer whether a datapath exists, and leave the clock alone so close and suspend release it once. The WoL resume rebuilds instead, so stop the PHY first, phy_start() only takes PHY_READY or PHY_HALTED. Flagged in a sashiko review and reproduced on a CM4 by forcing the resume allocation to fail.
CVE-2026-139141
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: net: dcb: initialize PFC value before calling getpfccfg dcbnl_getpfccfg() and dcbnl_cee_fill() pass the address of an uninitialized stack u8 to the driver's getpfccfg() op and then put it into the netlink reply unconditionally. The op returns void, so the core cannot tell whether the driver wrote the value. i40e_dcbnl_get_pfc_cfg() and ice_dcbnl_get_pfc_cfg() return without writing *setting unless the DCBX agent is host managed and in CEE mode. Both drivers normally run with firmware managed DCBX (DCB_CAP_DCBX_LLD_MANAGED), and i40e with FW LLDP disabled runs host managed in IEEE mode, so on a DCB capable i40e/ice port the PFC values in DCB_CMD_PFC_GCFG and DCB_CMD_CEE_GET replies, and in the CEE part of RTNLGRP_DCB notifications, come from uninitialized stack. The same u8 is reused for all eight priorities, so this is one byte per reply. dcb_doit() only requires CAP_NET_ADMIN for RTM_SETDCB, so the GET commands are available to unprivileged users. Set the value to 0 before each call, like the PG config path already presets its outputs to DCB_ATTR_VALUE_UNDEFINED. 0 is also what the reply contains today on kernels built with CONFIG_INIT_STACK_ALL_ZERO, so nothing changes for those. Found by code inspection, compile-tested only (W=1). I don't have i40e/ice hardware to check the reply.
CVE-2026-139140
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: ipv6: Protect multiple routes insertion by table lock. syzbot reported the warning below. [0] While call_fib6_multipath_entry_notifiers() is called locklessly, fib6_siblings could be changed concurrently, leading to the warning (and later null-ptr-deref). Let's protect multiple routes insertion with tb6_lock. Along with that, __ip6_ins_rt() and ip6_route_del() are changed to fib6_add() and fib6_del(). Note that fib6_del() finally calls rt6_multipath_rebalance(), which requires rcu_read_lock(). [0]: i != fen6_info->nsiblings WARNING: drivers/net/netdevsim/fib.c:831 at nsim_fib6_event_init drivers/net/netdevsim/fib.c:831 [inline], CPU#0: syz.0.157/6279 WARNING: drivers/net/netdevsim/fib.c:831 at nsim_fib6_prepare_event drivers/net/netdevsim/fib.c:947 [inline], CPU#0: syz.0.157/6279 WARNING: drivers/net/netdevsim/fib.c:831 at nsim_fib_event_schedule_work drivers/net/netdevsim/fib.c:1003 [inline], CPU#0: syz.0.157/6279 WARNING: drivers/net/netdevsim/fib.c:831 at nsim_fib_event_nb+0x1029/0x11d0 drivers/net/netdevsim/fib.c:1043, CPU#0: syz.0.157/6279 Modules linked in: CPU: 0 UID: 0 PID: 6279 Comm: syz.0.157 Not tainted syzkaller #0 PREEMPT(full) Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 07/24/2026 RIP: 0010:nsim_fib6_event_init drivers/net/netdevsim/fib.c:831 [inline] RIP: 0010:nsim_fib6_prepare_event drivers/net/netdevsim/fib.c:947 [inline] RIP: 0010:nsim_fib_event_schedule_work drivers/net/netdevsim/fib.c:1003 [inline] RIP: 0010:nsim_fib_event_nb+0x1029/0x11d0 drivers/net/netdevsim/fib.c:1043 Code: eb 0d 4d 89 fd e8 b7 c5 6c fa be 01 00 00 00 48 89 df e8 5a 38 85 fd 4d 89 ef 4c 8b 6c 24 20 e9 4a f3 ff ff e8 98 c5 6c fa 90 <0f> 0b 90 e9 db fa ff ff 89 e9 80 e1 07 80 c1 03 38 c1 0f 8c df f0 RSP: 0018:ffffc900047bef10 EFLAGS: 00010293 RAX: ffffffff875b59a8 RBX: 0000000000000002 RCX: ffff888079770000 RDX: 0000000000000000 RSI: 0000000000000002 RDI: 0000000000000001 RBP: ffffc900047bf0a0 R08: ffff88805c0bb02f R09: 1ffff1100b817605 R10: dffffc0000000000 R11: ffffed100b817606 R12: dffffc0000000000 R13: 0000000000000000 R14: 0000000000000001 R15: ffff88802c792000 FS: 00007f334ba076c0(0000) GS:ffff888123ad0000(0000) knlGS:0000000000000000 CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 CR2: 00007f334ba06ff8 CR3: 000000007a5b2000 CR4: 00000000003526f0 Call Trace: <TASK> notifier_call_chain+0x1a5/0x3d0 kernel/notifier.c:85 atomic_notifier_call_chain+0xda/0x180 kernel/notifier.c:223 call_fib_notifiers+0x31/0x60 net/core/fib_notifier.c:36 call_fib6_multipath_entry_notifiers+0xf5/0x160 net/ipv6/ip6_fib.c:428 ip6_route_multipath_add net/ipv6/route.c:5542 [inline] inet6_rtm_newroute+0x14f5/0x1a30 net/ipv6/route.c:5664 rtnetlink_rcv_msg+0x802/0xc00 net/core/rtnetlink.c:7163 netlink_rcv_skb+0x226/0x4a0 net/netlink/af_netlink.c:2572 netlink_unicast_kernel net/netlink/af_netlink.c:1335 [inline] netlink_unicast+0x7bd/0x940 net/netlink/af_netlink.c:1361 netlink_sendmsg+0x813/0xb40 net/netlink/af_netlink.c:1916 sock_sendmsg_nosec+0x14e/0x190 net/socket.c:800 __sock_sendmsg net/socket.c:818 [inline] ____sys_sendmsg+0x54e/0x850 net/socket.c:2715 ___sys_sendmsg+0x2a5/0x360 net/socket.c:2769 __sys_sendmmsg+0x273/0x4d0 net/socket.c:2858 __do_sys_sendmmsg net/socket.c:2885 [inline] __se_sys_sendmmsg net/socket.c:2882 [inline] __x64_sys_sendmmsg+0xa0/0xc0 net/socket.c:2882 do_syscall_x64 arch/x86/entry/syscall_64.c:61 [inline] do_syscall_64+0x166/0x520 arch/x86/entry/syscall_64.c:84 entry_SYSCALL_64_after_hwframe+0x77/0x7f RIP: 0033:0x7f334ab9e1d9 Code: ff c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 48 89 f8 48 89 f7 48 89 d6 48 89 ca 4d 89 c2 4d 89 c8 4c 8b 4c 24 08 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 c7 c1 e8 ff ff ff f7 d8 64 89 01 48 RSP: 002b:00007f334ba07028 EFLAGS: 00000246 ORIG_RAX: 0000000000000133 RAX: ffffffffffffffda RBX: 00007f334ae26090 RCX: 00007f334ab9e1d9 RDX: 04000000000001f2 RSI: 0 ---truncated---
CVE-2026-139139
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: ppp: linearize and segment bridged packets when required PPP channel bridging hands packets received on one channel directly to the start_xmit() of another. Packets received by PPPoE can be non-linear, GSO since commit 55a5d8fca836 ("net: pppoe: implement GRO/GSO support"), or CHECKSUM_PARTIAL when injected with a virtio_net_hdr. The regular transmit path never sees such packets, and only PPPoE, which uses dev_queue_xmit(), handles them: - PPP Async reads the whole packet through skb->data, transmitting unrelated memory for non-linear packets. - PPP Async and Sync send GSO packets as single frames of up to 64KB, and CHECKSUM_PARTIAL packets with a bad L4 checksum. - PPTP and L2TP cannot segment a TCP GSO packet once their GRE or UDP header is pushed, and do not finish pending checksums. Add a xmit_offload flag to struct ppp_channel, set for PPPoE. For other channels, segment GSO packets in software, using the PPP protocol field as the L2 header, finish CHECKSUM_PARTIAL checksums (including SCTP CRC32c), and linearize packets for channels without direct_xmit, as ppp_push() does. Packets are dropped if any step fails, or if the channel is busy, as before. skb->dev is NULL at this point for PPPoE (cleared by __sk_receive_skb()), and tunnel and IPv6 UFO GSO handlers dereference it: only TCP, UDP L4 and fraglist GSO packets without encapsulation are segmented, others are dropped. Receive paths like L2TP pull headers without updating the checksum state, possibly leaving a CHECKSUM_PARTIAL state with csum_start before skb->data. Reset it to CHECKSUM_NONE, as skb_postpull_rcsum() does, so that skb_checksum_help() does not warn, and so that PPPoE does not offload a checksum at a wrong offset. Tested in a VM by bridging PPPoE (on a TAP with IFF_NAPI_FRAGS, or on veth) to PPP Async on a PTY, PPPoL2TP and PPPoE: non-linear packets no longer leak garbage, GSO packets (including fraglist GRO) are sent as valid segments for IPv4 and IPv6, CHECKSUM_PARTIAL packets get a valid checksum, and PPPoE still receives GSO packets unchanged.
CVE-2026-139138
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: ice: use reference counting and SRCU for PTP port access The ice adapter structure maintains a list of ports associated with the adapter. This is used for supporting PTP, where the clock owner must handle many operations that require access to the PTP port structures of the associated PFs. This is implemented using a linked list and a mutex. This sort of works, but a few places within the code do not acquire the mutex when iterating the list. This includes ice_ptp_flush_all_tx_tracker(), ice_ptp_restart_all_phy(), and ice_ptp_prepare_rebuild_sec(). Fixing this is tricky, especially since it is not clear if we can simply acquire the lock around the complete iterations. The pattern of use for the port list is read-mostly with modifications only happening during PF initialization when elements are inserted. This typically only happens during early boot, though a PF could in principle be removed or loaded at arbitrary times via bind and unbind operations. The use of a mutex does mean the driver can sleep while holding it, but it still creates complicates with lock ordering and prevents iterating the list in any code path that *can't* sleep. Instead, use SRCU primitives for the port linked list, along with a reference count on the port. The kref reference counter ensures that a PF will have a valid lifetime and not be removed until the reference is released. Note that this change focuses solely on the port list and does not make an effort to resolve access to ctrl_pf, which is currently being investigated by another developer. Use of sleepable RCU is required because we often iterate the PTP port list and perform operations that might sleep. Attempts at implementing regular RCU have thus far not proven to be acceptable. The remove path first removes the port from the list, and we use kref_get_unless_zero to ensure that such ports are skipped when iterating the list. This ensures that once a port starts removing we will drop references and no longer be able to acquire new ones. This avoids loop iterations chaining together to indefinitely block removal. The ice_ptp_release_port_srcu() function is used as the release function for the kref_put() call. This uses wake_up_var() to wake the removing thread. The waiting thread will block until the final reference has been removed, then it will use synchronize_srcu() to ensure any outstanding SRCU critical sections have had the necessary grace period. This flow ensures that accesses to ports via the adapter port list will remain valid until both the SRCU critical sections have ended and all the references to the ports have been dropped. Strictly speaking, SRCU alone might be sufficient for existing code paths, but the reference count allows the option for passing a pointer to the port on to other functions if necessary in the future.