Jiri Slaby changed bug 1195360
What Removed Added
CC   jslaby@suse.com

Comment # 1 on bug 1195360 from
This seems to come from: 
commit 49bd49f983b5026e4557d31c5d737d9657c4113e
Author: Shyam Prasad N <sprasad@microsoft.com>
Date:   Fri Nov 5 19:03:57 2021 +0000

    cifs: send workstation name during ntlmssp session setup

Unwrap:
> BUG: kernel NULL pointer dereference, address: 0000000000000000
> #PF: supervisor read access in kernel mode
> #PF: error_code(0x0000) - not-present page
> PGD 0 P4D 0
> Oops: 0000 [#1] PREEMPT SMP PTI
> CPU: 2 PID: 2109 Comm: ls Not tainted 5.16.1-1-default #1 openSUSE Tumbleweed 3cf642e742f32b2eb0c8b3de3c646400fb247983
> Hardware name: VMware, Inc. VMware7,1/440BX Desktop Reference Platform, BIOS VMW71.00V.18452719.B64.2108091906 08/09/2021
> RIP: 0010:strnlen+0x17/0x30
> Code: 38 00 75 f7 48 29 f8 c3 31 c0 c3 0f 1f 84 00 00 00 00 00 48 8d 14 37 48 89 f8 48 85 f6 75 0b eb 19 48 83 c0 01 48 39 c2 74 09 <80> 38 00 75 f2 48 29 f8 c3 48 89 d0 48 29 f8 c3 31 c0 c3 66 0f 1f
> RSP: 0018:ffffb122450f3a08 EFLAGS: 00010206
> RAX: 0000000000000000 RBX: 000000000000002a RCX: ffffffffc0fc8000
> RDX: 0000000000000041 RSI: 0000000000000041 RDI: 0000000000000000
> RBP: ffff9974b55ee400 R08: 00000000000001c0 R09: 0000000000000000
> R10: ffff997487b39f00 R11: 0000000000000246 R12: ffffb122450f3a56
> R13: ffff9974a0887000 R14: ffff9974a0887000 R15: 0000000000000002
> FS:  00007f02bf986180(0000) GS:ffff9975b5e80000(0000) knlGS:0000000000000000
> CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
> CR2: 0000000000000000 CR3: 000000015ee22004 CR4: 00000000001706e0
> Call Trace:
>  <TASK>
>  size_of_ntlmssp_blob+0x6a/0x90 [cifs 7ef9028630b6a8ae2a075c5cad1bded3495fffbf]
>  build_ntlmssp_negotiate_blob+0x38/0x120 [cifs 7ef9028630b6a8ae2a075c5cad1bded3495fffbf]
>  SMB2_sess_auth_rawntlmssp_negotiate+0xc5/0x200 [cifs 7ef9028630b6a8ae2a075c5cad1bded3495fffbf]
>  SMB2_sess_setup+0x1d2/0x2c0 [cifs 7ef9028630b6a8ae2a075c5cad1bded3495fffbf]
>  cifs_setup_session+0xba/0x1c0 [cifs 7ef9028630b6a8ae2a075c5cad1bded3495fffbf]
>  cifs_get_smb_ses+0x674/0xdc0 [cifs 7ef9028630b6a8ae2a075c5cad1bded3495fffbf]
>  cifs_sb_tlink+0x41d/0xd40 [cifs 7ef9028630b6a8ae2a075c5cad1bded3495fffbf]
>  cifs_get_inode_info+0x73/0xa70 [cifs 7ef9028630b6a8ae2a075c5cad1bded3495fffbf]
>  cifs_revalidate_dentry_attr+0x17a/0x3a0 [cifs 7ef9028630b6a8ae2a075c5cad1bded3495fffbf]
>  cifs_getattr+0xb8/0x250 [cifs 7ef9028630b6a8ae2a075c5cad1bded3495fffbf]
>  vfs_statx+0xa0/0x130
>  do_statx+0x40/0x80
>  __x64_sys_statx+0x1b/0x20
>  do_syscall_64+0x5c/0x80
>  entry_SYSCALL_64_after_hwframe+0x44/0xae
> RIP: 0033:0x7f02bfb4ffbe
> Code: e9 96 fd ff ff e8 50 21 02 00 66 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 f3 0f 1e fa 90 90 41 89 ca b8 4c 01 00 00 0f 05 <48> 3d 00 f0 ff ff 77 2a 41 89 c1 85 c0 74 0f 48 8b 05 24 de 0f 00
> RSP: 002b:00007fff095014c8 EFLAGS: 00000202 ORIG_RAX: 000000000000014c
> RAX: ffffffffffffffda RBX: 00005575a0bc8668 RCX: 00007f02bfb4ffbe
> RDX: 0000000000000100 RSI: 00007fff09504150 RDI: 00000000ffffff9c
> RBP: 000000000000025e R08: 00007fff095014d0 R09: 0000000000000000
> R10: 000000000000025e R11: 0000000000000202 R12: 00007fff09504150
> R13: 00007fff09504150 R14: 0000000000000001 R15: 0000000000000000
>  </TASK>
> Modules linked in: binfmt_misc cmac nls_utf8 cifs cifs_arc4 cifs_md4 dns_resolver fscache netfs af_packet nft_objref nf_conntrack_netbios_ns nf_conntrack_broadcast nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 snd_seq_midi nft_fib snd_seq_midi_event snd_seq nft_reject_inet nf_reject_ipv4 nf_reject_ipv6 nft_reject nft_ct nft_chain_nat nf_tables ebtable_nat ebtable_broute ip6table_nat ip6table_mangle ip6table_raw ip6table_security iptable_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 iptable_mangle iptable_raw iptable_security rfkill ip_set nfnetlink ebtable_filter ebtables ip6table_filter ip6_tables iptable_filter bpfilter intel_rapl_msr intel_rapl_common kvm_intel vmw_balloon kvm irqbypass pcspkr joydev vsock_loopback snd_ens1371 efi_pstore snd_ac97_codec ac97_bus snd_rawmidi vmw_vsock_virtio_transport_common snd_seq_device snd_pcm snd_timer snd soundcore e1000 mptctl vmw_vsock_vmci_transport i2c_piix4 vsock vmw_vmci tiny_power_button ac button nls_iso8859_1
>  nls_cp437 vfat fat fuse configfs ip_tables x_tables hid_generic usbhid sr_mod cdrom ata_generic crct10dif_pclmul crc32_pclmul ghash_clmulni_intel aesni_intel crypto_simd cryptd vmwgfx ttm serio_raw drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops cec rc_core ehci_pci drm mptspi scsi_transport_spi xhci_pci mptscsih xhci_pci_renesas mptbase xhci_hcd uhci_hcd ehci_hcd usbcore ata_piix btrfs blake2b_generic libcrc32c crc32c_intel xor raid6_pq sg dm_multipath dm_mod scsi_dh_rdac scsi_dh_emc scsi_dh_alua msr efivarfs
> CR2: 0000000000000000


You are receiving this mail because: