총 163,313건
CVE-2026-138820
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: arm64/mm: Treat faults taken by EFI runtime firmware as kernel faults When EFI runtime services are invoked from a preemptible kthread, the kthread runs with efi_mm installed via kthread_use_mm() and preemption enabled, so neither faulthandler_disabled() nor !mm applies in do_page_fault(). A permission fault taken by the firmware on one of its own (TTBR0) mappings then hits the 'access to user memory outside uaccess routines' check and oopses, without efi_runtime_fixup_exception() ever being consulted. efi_mm has no VMAs, so there is nothing for the mm to resolve. Send such faults to no_context directly, so that __do_kernel_fault() can recover from them as it does when the call is made with preemption disabled.
CVE-2026-138819
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: serial: 8250_exar: store the GPIO platform device in struct exar8250 The GPIO platform device is registered via platform->register_gpio() when port 0 is being set up. It is stored to port->port.private_data of the on-stack uart template (and from there it is copied into every registered port). pci_xr17v35x_exit() then fetches it back by serial8250_get_port(priv->line[0]). But port 0 does not have to exist at that point. If serial8250_register_8250_port() fails for port 0, priv->line[0] holds a negative error code. The probe still succeeds (it only breaks the loop), so on unbind, priv->line[0] (a negative value) is passed to serial8250_get_port(). The GPIO device is never unregistered and a bogus port is accessed. The same problem would also occur after the planned conversion of serial8250_register_8250_port() to return a uart port instead of a line. As Sashiko pointed out in that case: If board->setup() fails for the first port (i=0) in exar_pci_probe(), priv->uport[0] remains NULL. If serial8250_register_8250_port() fails, it returns an ERR_PTR. In either case, the loop breaks and probe returns success. When the device is later unbound, pci_xr17v35x_exit() unconditionally passes priv->uport[0] to platform->unregister_gpio(), which will dereference it without checking for validity. The GPIO device belongs to the PCI device, not to any particular port. So store it in a new struct exar8250::gpio member. Pass priv to both ->register_gpio() and ->unregister_gpio(), so that pci_xr17v35x_exit() does not need to look up any port at all.
CVE-2026-138818
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: misc: tifm: don't clear dev->driver in tifm_device_remove() tifm_device_remove() sets sock->dev.driver to NULL after calling the driver's remove() callback. Since commit a995fe1a3aa7 ("rust: driver: drop device private data post unbind"), device_unbind_cleanup() dereferences dev->driver after the bus remove() callback has returned, so removing a card from a TI FlashMedia reader oopses: BUG: kernel NULL pointer dereference, address: 0000000000000090 Workqueue: tifm tifm_7xx1_switch_media [tifm_7xx1] RIP: 0010:device_unbind_cleanup+0x16/0xb0 Call Trace: device_release_driver_internal+0x220/0x260 device_release_driver+0x12/0x20 bus_remove_device+0xf9/0x1c0 device_del+0x161/0x3b0 device_unregister+0x17/0x70 tifm_7xx1_switch_media.cold+0x6b/0xbd [tifm_7xx1] process_one_work+0x1ac/0x3d0 worker_thread+0x1b8/0x360 kthread+0xf7/0x130 ret_from_fork+0x195/0x2a0 ret_from_fork_asm+0x1a/0x30 The driver core clears dev->driver itself in device_unbind_cleanup(), so there is no need for the bus code to do it. Remove the assignment. The problem was found and the fix written with the help of an AI coding assistant. Tested on a Dell Precision M6500 (TI PCIxx12 FlashMedia, 104c:803b) running a 7.0 kernel: removing an SD card oopsed every time without the fix; with it, insert, read and remove work.
CVE-2026-138817
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: iomap: don't lose a fiemap iteration error when emitting the last extent iomap_fiemap() emits extents one behind: iomap_fiemap_iter() flushes the previous extent and remembers the current one, and the remembered extent is written with FIEMAP_EXTENT_LAST after the iteration loop. That final flush overwrites ret, so when ->iomap_begin() fails partway through the iteration the error is replaced by the result of iomap_to_fiemap() (zero on success) and iomap_fiemap() returns success with a truncated extent list whose last entry is wrongly marked as the last extent in the file. The pre-iomap_iter code returned the error from inside the loop, before flushing the pending extent. Check for the iteration error before flushing the pending extent, so that real errors are propagated and only a successful iteration emits the final FIEMAP_EXTENT_LAST extent. -ENOENT (no mapping) is still not an error, and the pending extent is still emitted in that case.
CVE-2026-138816
2026년 11월 30일리눅스 커널에서 다음 취약점이 해결되었다: nvme-rdma: bogus remote invalidation 이후에는 요청을 완료하지 않음 원격 무효화가 이 요청에 대해 우리가 발급한 rkey와 일치하지 않으면, nvme_rdma_process_nvme_rsp()가 로그를 남기고 오류 복구를 스케줄한 뒤 nvme_rdma_end_request()로 떨어져 나온다. 이로 인해 요청은 req->mr이 무효화되지 않은 채 완료되고, nvme_rdma_unmap_data()가 ib_mr_pool_put()으로 다시 넘겨주는데, 이때 ib_mr_pool_put()은 리스트에만 두는 역할이다. 그 결과 rkey는 여전히 유효하고 완료된 읽기가 채운 페이지를 여전히 매핑하므로, 잘못된 무효화를 보낸 컨트롤러가 pread()가 반환된 이후에도 그 페이지에 쓰기를 할 수 있다. 대신 로컬 무효화 경로 아래에서처럼 반환하고, 오류 복구를 취소하도록 남겨둔다.
CVE-2026-138815
2026년 11월 30일In the Linux kernel, the following vulnerability has been resolved: nvmet: fix preempt of another registrant by the reservation holder Unless the reservation is of an All Registrants type, nvmet_pr_preempt() treats every Reservation Acquire command with the Preempt or Preempt and Abort action that is sent by the reservation holder as the holder preempting itself. It updates the reservation type to RTYPE and completes the command successfully without looking at PRKEY. NVMe Base Specification 2.1, section 8.1.22.7 makes the action depend on PRKEY for these reservation types, no matter which registrant sends the command: - PRKEY matches the key of the reservation holder: the reservation is preempted. This is how a holder preempts itself. - PRKEY does not match the key of the holder and is not 0h: the registrants whose key matches PRKEY are unregistered. - PRKEY does not match the key of the holder and is 0h: the command is aborted with Invalid Field in Command. With the current code, a holder that preempts with the key of another registrant leaves that registrant registered, changes the reservation type to RTYPE and still gets a successful completion. With hosts A, B and C registered with the keys 0xa, 0xb and 0xc, and A holding an Exclusive Access - Registrants Only reservation, A sends: # nvme resv-acquire /dev/nvme1 -n 1 --crkey=0xa --prkey=0xb \ --rtype=4 --racqa=1 NVME Reservation Acquire success # nvme resv-report /dev/nvme1 -n 1 --eds | grep '^regctl ' regctl : 3 and B can still write to the namespace. Preempt and Abort (--racqa=2) gives the same result. When C sends the preempt instead (--crkey=0xc), B is unregistered and its writes fail with Reservation Conflict. This defeats fencing in the pNFS SCSI layout server. nfsd holds the reservation and fences a client that does not return its layout by calling pr_preempt() with the key of that client and the abort flag, which is the command RFC 9561 section 2.2.3 asks for. On an nvmet namespace the preempt succeeds, nfsd logs the client as fenced, and the client keeps writing to the device. In a test with an nfsd server and two clients on an nvmet-tcp namespace, the namespace still had three registrants after the fence and the fenced client went on writing to it. With this patch two registrants are left and the writes of the fenced client fail with a reservation conflict. Take the self preempt path only when PRKEY is the key of the holder. Any other PRKEY sent by the holder is then handled by the code that already serves a non-holder registrant, for Preempt and for Preempt and Abort. For a host that holds the reservation this changes the following: - A preempt with the key of another registrant unregisters the registrants with that key, sends them the registration preempted notification and leaves the reservation type alone. - A preempt with PRKEY 0h fails with Invalid Field in Command. A holder that changed its reservation type this way has to pass its own key in PRKEY, which works with and without this patch. - A preempt with a PRKEY that matches no registrant fails with Reservation Conflict. The specification defines that status only for the All Registrants types. It is what nvmet already returns to a non-holder registrant in this case and what the SCSI target returns for an unregistered key. nfsd treats it as a successful fence. Not changed: when the holder preempts itself, registrants that share its key stay registered.
CVE-2026-138814
2026년 11월 30일리눅스 커널에서 다음 취약점이 수정되었습니다: nvme-auth: 컨트롤러가 자체 인증을 수행하지 않을 때 실패 nvme_auth_process_dhchap_success1()는 컨트롤러가 DH-HMAC-CHAP success1 메시지에서 rvalid 플래그를 지우자마자 성공으로 반환합니다. 이는 호스트가 컨트롤러에 인증을 요청했는지 여부를 보지 않습니다. 호스트가 컨트롤러 비밀로 구성된 경우 응답을 보내고 예상 컨트롤러 응답을 계산하며 chap->bi_directional를 설정합니다. 이후 컨트롤러가 rvalid = 0으로 응답하면 응답이 비교되지 않고 호스트는 여전히 success2를 전송하며 큐는 인증된 것으로 표시됩니다. 공격자 또는 중간자(man-in-the-middle) 컨트롤러는 단지 하나의 플래그를 지우기만 하면 구성된 양방향 인증을 일방향 인증으로 바꿀 수 있으며, 자체 비밀을 소유하고 있지 않아도 됩니다. 대상 쪽은 이미 이를 치명적으로 간주합니다. 호스트가 챌렌지를 제시했지만 컨트롤러 키가 구성되지 않은 경우 nvmet_auth_success1()는 rvalid = 0으로 응답하지 않고 인증에 실패합니다. 양방향 인증이 요청되었더라도 컨트롤러가 응답하지 않는 경우 연결을 거부합니다. chap->bi_directional는 ctrl->ctrl_key보다 올바른 조건이며, 보안 결합은 PSK를 도출하기 위해 챌렌지를 보내고 의도적으로 bi_directional을 지우기 때문입니다. 컨트롤러 비밀이 없는 일방향 설정은 예전처럼 계속해서 success를 반환합니다.
CVE-2026-138813
2026년 11월 30일리눅스 커널에서 다음 취약점이 해결되었습니다: nvmet: 파일 네임스페이스 범위 오류에서 bvec를 해제 nvmet_file_execute_rw()는 nvmet_file_execute_io()가 백업 파일에 대한 요청이 맞는지 확인하기 전에 bvec를 할당합니다. 요청이 파일 범위를 넘길 경우 nvmet_file_execute_io()는 nvmet_req_complete()를 호출하여 오류를 반환합니다. 이때 nvmet_file_io_done()가 실행되지 않아 할당된 메모리가 해제되지 않습니다. 반복되는 요청은 메모리를 고갈시킬 수 있습니다. 클라이언트에 범위 오류를 반환하기 전에 nvmet_file_io_done()를 사용하여 bvec를 해제합니다.
CVE-2026-138781
2026년 11월 30일GIMP의 file-psd 플러그인에서 결함이 발견되었습니다. PSD 알파 채널 메타데이터를 로드할 때 경계 검사에 잘못된 값이 있어 범위 밖 읽기가 발생할 수 있습니다. 조작된 PSD 파일을 열면 애플리케이션이 충돌할 수 있으며 임의의 코드를 실행할 수 있습니다.
CVE-2026-138700
2026년 11월 30일sstp-client에서 결함이 발견되었습니다. sstp_http_get()의 스택 기반 버퍼 오버플로가 SSTP 서버 응답에서 인증 이전에 HTTP 헤더를 구문 분석할 때 트리거될 수 있습니다. 원격 피어가 클라이언트를 크래시시키게 할 수 있습니다. 스택 프로텍터가 없는 빌드에서는 이로 인해 임의 코드 실행이 가능할 수 있습니다. 오버플로는 고정된 http_header_st 배열을 채우는 과정에서의 한 글자 차이(off-by-one) 루프 경계 및 대상 버퍼보다 한 바이트를 초과하는 sscanf 필드 폭으로 인해 발생합니다. 이는 악의적이거나 중간자(man-in-the-middle) SSTP 서버로부터의 첫 번째 HTTP 응답을 처리하는 동안 PPP 인증 이전에 도달할 수 있습니다. 업스트림에서 커밋 289866a427b462f37af4c6c4842721c98c49a5f5(경계 검사 및 수정된 sscanf 폭)에서 수정되었습니다. 아직 수정 사항을 포함하는 업스트림 릴리스 태그가 없으며 최신 태그는 1.0.20입니다.
CVE-2026-138429
2026년 11월 30일sosedoff pgweb이 0.17.0까지의 약점이 확인되었다. 영향받은 것은 구성요소 API의 파일인 pkg/api/routes.go의 RunQuery 함수이다. 인자 Query의 조작을 실행하면 인증 누락으로 이어질 수 있다. 이 공격은 원격으로 시작될 수 있다. 익스플로잇은 공개되어 있으며 공격에 사용될 수 있다. 공급업체는 이 공개에 대해 조기에 연락을 받았으나 어떠한 응답도 하지 않았다.
CVE-2026-138428
2026년 11월 30일A security flaw has been discovered in SourceCodester Real Estate Property Listing App 1.0. This issue affects some unknown processing of the file /index.php. Performing a manipulation of the argument property['title'] results in cross site scripting. The attack can be initiated remotely. The exploit has been released to the public and may be used for attacks.
CVE-2026-138427
2026년 11월 30일SourceCodester Real Estate Property Listing App 1.0의 Admin Login 구성 요소의 admin/login.php 파일에 알려지지 않은 코드가 존재하는 취약점이 확인되었습니다. 이 취약점은 하드코드된 자격 증명으로 이어질 수 있으며 원격으로 공격이 가능할 수 있습니다. 공격 코드가 공개되어 있어 악용될 가능성이 있습니다.
CVE-2026-138426
2026년 11월 30일A vulnerability was determined in realnaspter opencart-theteller-payment-gateway up to 729fee45c89d70a0c7a54fa080239acc2d4364b8. This affects the function callback of the file catalog/controller/extension/payment/theteller.php. This manipulation of the argument status/code causes insufficient verification of data authenticity. It is possible to initiate the attack remotely. The exploit has been publicly disclosed and may be utilized. This product is using a rolling release to provide continious delivery. Therefore, no version details for affected nor updated releases are available. The project was informed of the problem early through an issue report but has not responded yet.
CVE-2026-137903
2026년 11월 30일MY ERP의 SQL 명령어에 사용된 특수 요소를 적절히 중화하지 않아 발생하는 SQL 인젝션 취약점(‘SQL 인젝션’)이 Yirmibeş Yazılım ve Danışmanlık의 MY ERP에 존재합니다. 이 취약점은 MY ERP를 1.204 미만 버전에 영향을 미칩니다.
CVE-2026-129973
2026년 11월 30일Velociraptor는 관리자가 승인된 호스트 디렉터리로 서버 측 VQL 네이티브 파일 접근을 제한하도록 한다. 플러그인은 보통 먼저 사용자가 FILESYSTEM_READ/FILESYSTEM_WRITE 권한을 가지고 있는지 확인한 다음(대개 관리자 사용자에게만 부여), 파일이 금지된 디렉터리로 들어가는지 확인한다. 취약한 Velociraptor 버전에서 이 확인은 디렉터리 순회 문자에 대해 고려되지 않아 사용자가 임의의 디렉터리에 읽기/쓰기할 수 있도록 했다. 이로 인해 어떤 조직의 관리자 사용자도 다른 조직의 파일을 읽기/쓰기를 통해 파일 접근 샌드박스를 우회할 수 있다.
CVE-2026-107131
2026년 11월 30일Improper validation of firmware update packages may allow an authenticated attacker with the ability to provide a specially crafted update package to execute arbitrary commands with elevated privileges during the firmware update process. This could result in full compromise of the affected device. While the firmware update can be initiated remotely, exploitation requires a malicious update package to be physically provided to the device via USB storage or SD card.
CVE-2026-100100
2026년 11월 30일리눅스 커널에서 다음 취약점이 해결되었습니다: nvmet: 속성 설정 전에 인증이 필요합니다 I/O 큐는 독립적인 DH-HMAC-CHAP 인증을 수행하지 않습니다. 대신 컨트롤러의 관리 큐의 인증에 의존합니다. 그러나 Fabrics의 속성 명령은 일반 관리 명령 인증 확인 전에 디스패치됩니다. 인증되지 않은 피어는 그 결과 CC.EN을 설정하고, I/O 큐를 연결하며, 관리자 CONNECT가 인증이 필요하다고 보고한 후 네임스페이스에 접근할 수 있습니다. 관리 큐가 인증되기 전까지 PROPERTY_SET를 거부합니다. 인증 키가 구성되지 않은 대상은 변경되지 않습니다. 이 내용은 AI 보조로 소스 검토를 통해 발견되었습니다. localhost NVMe/TCP 와이어 재현기는 AUTH_SEND 또는 AUTH_RECEIVE를 완료하지 않고도 두 번의 독립적인 부트에서 알려진 4 KiB 네임스페이스 블록을 가져왔습니다. 이 변경으로 PROPERTY_SET은 NVME_SC_AUTH_REQUIRED를 반환했고 네임스페이스 데이터는 반환되지 않았으며, 인증 없이 제어가 계속 작동하는 상태는 유지되었습니다.
CVE-2026-100099
번역 확인 필요2026년 11월 30일Linux 커널에서 다음 취약점이 해결되었습니다: nvme: 수신 버퍼에 대해 FDP 구성 로그를 바인드합니다 nvme_query_fdp_granularity()는 컨트롤러가 반환하는 크기를 사용하여 FDP 구성 로그를 파싱하는데, 주어진 버퍼에 맞는지 확인하지 않습니다. 로그 크기는 kvmalloc() 이전까지 상한선만 제한되므로 로그 헤더 이전의 크기에서 read가 버퍼 할당 바깥으로 넘어가며, 0 크기일 경우 ZERO_SIZE_PTR이 발생하고 예외가 발생합니다. 각 구성 설명자는 버퍼 안에 전체 설명자가 있는지 확인하지 않고 역참조되며, 끝 또는 끝 이후의 설명자는 경계 밖에서 읽힙니다. 이 경계 밖 읽기 값은 그 후 /sys/block/nvmeXnY/queue/write_stream_granularity를 통해 사용자 공간에 노출됩니다. 디바이스가 제공하는 dsze가 8의 배수가 아닌 경우 남은 다음 설명자들이 정렬되지 않으며, 구조체는 패킹되지 않아 비정렬 접근이 효율적이지 않은 아키텍처에서 nrg와 runs를 읽으면 장애가 발생할 수 있습니다. 악의적이거나 버그가 있는 컨트롤러가 짧은 FDP 구성 로그로 네임스페이스 스캔 중 이를 트리거합니다: [ 1.104828] BUG: KASAN: slab-out-of-bounds in nvme_alloc_ns+0x39a6/0x4480 [ 1.104848] Read of size 8 at addr ffff888009fd8fe0 by task kworker/u8:3/52 [ 1.104852] [ 1.104857] CPU: 1 UID: 0 PID: 52 Comm: kworker/u8:3 Not tainted 7.3.0-rc6-00063-g0c2669a9f4a1 #1 PREEMPT(lazy) [ 1.104862] Hardware name: QEMU Standard PC (Q35 + ICH9, 2009), BIOS rel-1.17.0-0-gb52ca86e094d-prebuilt.qemu.org 04/01/2014 [ 1.104866] Workqueue: async async_run_entry_fn [ 1.104873] Call Trace: [ 1.104876] <TASK> [ 1.104878] dump_stack_lvl+0x66/0xa0 [ 1.104886] print_report+0xd0/0x630 [ 1.104893] ? nvme_alloc_ns+0x39a6/0x4480 [ 1.104897] ? __virt_addr_valid+0x209/0x3f0 [ 1.104903] ? nvme_alloc_ns+0x39a6/0x4480 [ 1.104907] kasan_report+0xe4/0x120 [ 1.104913] ? nvme_alloc_ns+0x39a6/0x4480 [ 1.104919] nvme_alloc_ns+0x39a6/0x4480 [ 1.104926] ? __pfx_nvme_alloc_ns+0x10/0x10 [ 1.104931] ? check_prev_add+0xfd/0xe80 [ 1.104942] ? lock_acquire+0x18d/0x300 [ 1.104948] ? nvme_find_get_ns+0xbb/0x2e0 [ 1.104952] ? find_held_lock+0x2b/0x80 [ 1.104956] ? nvme_find_get_ns+0x231/0x2e0 [ 1.104967] ? nvme_scan_ns+0x2e1/0x8d0 [ 1.104971] ? kfree+0x2e5/0x510 [ 1.104976] ? __lock_acquire+0x570/0x1b00 [ 1.104982] nvme_scan_ns+0x56a/0x8d0 [ 1.104987] ? __pfx_nvme_scan_ns+0x10/0x10 [ 1.104994] ? lockdep_hardirqs_on_prepare+0xdc/0x190 [ 1.105005] ? kvm_clock_get_cycles+0x19/0x40 [ 1.105011] ? __pfx_nvme_scan_ns_async+0x10/0x10 [ 1.105015] async_run_entry_fn+0x8d/0x290 [ 1.105020] process_one_work+0x8ac/0x1b00 [ 1.105029] ? __pfx_process_one_work+0x10/0x10 [ 1.105034] ? lock_acquire+0x18d/0x300 [ 1.105040] ? lock_is_held_type+0x8f/0x100 [ 1.105046] ? __pfx_async_run_entry_fn+0x10/0x10 [ 1.105050] worker_thread+0x4ee/0xe70 [ 1.105056] ? lockdep_hardirqs_on_prepare+0xdc/0x190 [ 1.105061] ? trace_hardirqs_on+0x18/0x160 [ 1.105066] ? __pfx_worker_thread+0x10/0x10 [ 1.105071] ? __pfx_worker_thread+0x10/0x10 [ 1.105076] kthread+0x2ce/0x3b0 [ 1.105080] ? __pfx_kthread+0x10/0x10 [ 1.105085] ret_from_fork+0x52e/0x780 [ 1.105090] ? __pfx_ret_from_fork+0x10/0x10 [ 1.105094] ? __switch_to+0x572/0xde0 [ 1.105101] ? __pfx_kthread+0x10/0x10 [ 1.105105] ret_from_fork_asm+0x1a/0x30 [ 1.105114] </TASK> [ 1.105116] [ 1.105117] Allocated by task 52: [ 1.105119] kasan_save_stack+0x33/0x60 [ 1.105123] kasan_save_track+0x14/0x30 [ 1.105126] __kasan_kmalloc+0x8f/0xa0 [ 1.105129] __kvmalloc_node_noprof+0x2e1/0x820 [ 1.105134] nvme_alloc_ns+0x1097/0x4480 [ 1.105138] nvme_scan_ns+0x56a/0x8d0 [ 1.105142] async_run_entry_fn+0x8d/ ---truncated---
CVE-2026-100098
2026년 11월 30일리눅스 커널에서 다음 취약점이 해결되었습니다: nvmet: zns: 존 관리 수신에서 옛 메모리 누출를 방지 Zone Management Receive 보고서는 호스트가 요청한 전체 버퍼를 반환하지만, nvmet_bdev_zone_zmgmt_recv_work()는 일치하는 각 존에 대해 8바이트의 존 수 필드와 64바이트의 디스크립터 하나만 기록합니다. 남은 56개의 예약 헤더 바이트와 마지막 매치 이후의 모든 디스크립터 슬롯은 버퍼가 이전에 가졌던 값을 그대로 유지합니다. 단일 존을 다루는 4096바이트 보고서는 4024바이트가 기록되지 않은 상태로 남습니다. tcp, rdma 및 fc 트랜스포트는 이 버퍼를 sgl_alloc()으로 할당하고, pci-epf는 kmalloc()으로 할당하며, __GFP_ZERO를 사용하지 않으며 성공 시 각각 호스트로 전체 버퍼를 전송합니다(nvmet_setup_c2h_data_pdu()는 tcp의 경우). 따라서 호스트는 대상에서 이전 커널 메모리를 수신합니다. nvmet_bdev_execute_zone_mgmt_recv()는 또한 전송 데이터 길이를 NUMD와 대조해 확인하지 않으므로, 호스트가 길이를 NUMD로 설정한 트랜스포트에서 전송되는 버퍼의 길이가 보고된 NUMD보다 훨씬 클 수 있습니다. pci-epf는 그 길이를 NUMD로부터 유도하므로 아래 길이 확인은 적용되지 않지만, 여전히 제로링은 보고서를 덮습니다. nvmet_check_transfer_len()과 같이 NUMD과 길이가 일치하지 않는 경우 데이터를 거부하고, nvmet_zero_sgl()로 보고서를 제로화한 다음 채웁니다. NUMD 바이트를 제로링하는 것은 길이 확인과 함께 충분합니다. 트랜스포트에서 __GFP_ZERO로 할당하면 누출을 막을 수 있지만, 한 핸들러를 수정하기 위해 모든 읽기 명령에 memset를 추가해야 하므로 트랜스포트는 손대지 않는 것이 좋습니다. 루프, tcp, rdma 및 fc 트랜스포트에서 존 널 블록 네임스페이스로 테스트했습니다. 이 패치 이전에는 존 보고서에 오래된 바이트가 포함되었고 NUMD보다 큰 데이터 길이가 허용되었습니다. 이 패치를 적용하면 보고서가 완전히 초기화되고 그런 길이는 Data SGL Length Invalid로 실패합니다.