Hello,
SuSE recently released kernel-default-5.14.21-150500.55.59.1.x86_64 as an update to kernel-default-5.14.21-150500.55.52.1.x86_64.
Regarding the new version 55.59.1er Kernel there seems to be a problem with NFS V4/Kerberos. On a NFS-Client running the new kernel whenever someone tries to login, which causes an NFS4 mount of the users /home directory from another SLES-Server, this mount results in a Kernel NULL pointer dereference. The NFS4 mount fails. Running the previous 55.52.1er Kernel (and many that came before) everything works just fine, the users home directory is NFS4-mounted on the client after the kerberos based authentication of the user without any problems.
Anyone else having the same/similar problem?
Have a nice day
Rainer
On the NFS server (SLES15SP5 running the one step older kernel *150500.55.52, nothing is visible in the journal. For the NFS client this is different. Below the NFS clients (SLES15SP5) syslog right after the moment it tried to mount the home directory of a user after a login of this user :
May 06 07:08:51 myhostname kernel: Key type dns_resolver registered
May 06 07:08:51 myhostname kernel: NFS: Registering the id_resolver key type
May 06 07:08:51 myhostname kernel: Key type id_resolver registered
May 06 07:08:51 myhostname kernel: Key type id_legacy registered
May 06 07:08:51 myhostname kernel: BUG: kernel NULL pointer dereference, address: 0000000000000004
May 06 07:08:51 myhostname kernel: #PF: supervisor read access in kernel mode
May 06 07:08:51 myhostname kernel: #PF: error_code(0x0000) - not-present page
May 06 07:08:51 myhostname kernel: PGD 0 P4D 0
May 06 07:08:51 myhostname kernel: Oops: 0000 [#1] PREEMPT SMP NOPTI
May 06 07:08:51 myhostname kernel: CPU: 0 PID: 1583 Comm: mount.nfs4 Not tainted 5.14.21-150500.55.59-default #1 SLE15-SP5 3a8569df5696e57cdcb648c7e890af33bdc23f85
May 06 07:08:51 myhostname kernel: Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS rel-1.16.2-0-gea1b7a073390-prebuilt.qemu.org 04/01/2014
May 06 07:08:51 myhostname kernel: RIP: 0010:gss_get_mic_kerberos+0x2d/0x300 [rpcsec_gss_krb5]
May 06 07:08:51 myhostname kernel: Code: 00 00 41 57 41 56 41 55 41 54 49 89 d5 55 53 49 89 f4 48 83 ec 38 48 8b 5f 08 65 48 8b 04 25 28 00 00 00 48 89 44 24 30 31 c0 <8b> 43 04 83 f8 06 0f 84 fa 00 00 00 0f 86 eb 00 00 00 83 e8 11 83
May 06 07:08:51 myhostname kernel: RSP: 0018:ffffa81dc0b0b840 EFLAGS: 00010246
May 06 07:08:51 myhostname kernel: RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff911903158fd4
May 06 07:08:51 myhostname kernel: RDX: ffffa81dc0b0b8d0 RSI: ffffa81dc0b0b8f0 RDI: ffff9119517e4ce0
May 06 07:08:51 myhostname kernel: RBP: ffffa81dc0b0b970 R08: ffff911903158008 R09: ffff911903158fd4
May 06 07:08:51 myhostname kernel: R10: ffffa81dc0b0b988 R11: ffffea74440c5600 R12: ffffa81dc0b0b8f0
May 06 07:08:51 myhostname kernel: R13: ffffa81dc0b0b8d0 R14: ffff91190309ba80 R15: ffff911903158020
May 06 07:08:51 myhostname kernel: FS: 00007fca432dd840(0000) GS:ffff911a37c00000(0000) knlGS:0000000000000000
May 06 07:08:51 myhostname kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
May 06 07:08:51 myhostname kernel: CR2: 0000000000000004 CR3: 00000001032a2000 CR4: 0000000000350ef0
May 06 07:08:51 myhostname kernel: Call Trace:
May 06 07:08:51 myhostname kernel: <TASK>
May 06 07:08:51 myhostname kernel: gss_marshal+0x181/0x320 [auth_rpcgss c26335fc9ca1755964421970836c0101605b9490]
May 06 07:08:51 myhostname kernel: ? srso_return_thunk+0x5/0x10
May 06 07:08:51 myhostname kernel: ? srso_return_thunk+0x5/0x10
May 06 07:08:51 myhostname kernel: ? kmalloc_order+0x6f/0xb0
May 06 07:08:51 myhostname kernel: ? __rpc_sleep_on_priority_timeout+0xf0/0xf0 [sunrpc c6db284f7f72062c59f09f2f594ee19a421ccf15]
May 06 07:08:51 myhostname kernel: ? call_encode+0x151/0x310 [sunrpc c6db284f7f72062c59f09f2f594ee19a421ccf15]
May 06 07:08:51 myhostname kernel: call_encode+0x151/0x310 [sunrpc c6db284f7f72062c59f09f2f594ee19a421ccf15]
May 06 07:08:51 myhostname kernel: ? srso_return_thunk+0x5/0x10
May 06 07:08:51 myhostname kernel: ? rpc_malloc+0x4d/0x90 [sunrpc c6db284f7f72062c59f09f2f594ee19a421ccf15]
May 06 07:08:51 myhostname kernel: ? call_decode+0x210/0x210 [sunrpc c6db284f7f72062c59f09f2f594ee19a421ccf15]
May 06 07:08:51 myhostname kernel: __rpc_execute+0xb7/0x4d0 [sunrpc c6db284f7f72062c59f09f2f594ee19a421ccf15]
May 06 07:08:51 myhostname kernel: rpc_execute+0x6b/0xd0 [sunrpc c6db284f7f72062c59f09f2f594ee19a421ccf15]
May 06 07:08:51 myhostname kernel: rpc_run_task+0x111/0x130 [sunrpc c6db284f7f72062c59f09f2f594ee19a421ccf15]
May 06 07:08:51 myhostname kernel: nfs4_run_exchange_id+0x1fe/0x300 [nfsv4 7a81e979346bb4c055c48e0da360809de74a6034]
May 06 07:08:51 myhostname kernel: ? select_task_rq_fair+0x186/0x13b0
May 06 07:08:51 myhostname kernel: _nfs4_proc_exchange_id+0x34/0x550 [nfsv4 7a81e979346bb4c055c48e0da360809de74a6034]
May 06 07:08:51 myhostname kernel: ? try_to_wake_up+0x177/0x550
May 06 07:08:51 myhostname kernel: nfs4_proc_exchange_id+0x3e/0x50 [nfsv4 7a81e979346bb4c055c48e0da360809de74a6034]
May 06 07:08:51 myhostname kernel: nfs41_discover_server_trunking+0x1c/0xa0 [nfsv4 7a81e979346bb4c055c48e0da360809de74a6034]
May 06 07:08:51 myhostname kernel: nfs4_discover_server_trunking+0x72/0x2a0 [nfsv4 7a81e979346bb4c055c48e0da360809de74a6034]
May 06 07:08:51 myhostname kernel: nfs4_init_client+0x6e/0x130 [nfsv4 7a81e979346bb4c055c48e0da360809de74a6034]
May 06 07:08:51 myhostname kernel: nfs4_set_client+0xef/0x140 [nfsv4 7a81e979346bb4c055c48e0da360809de74a6034]
May 06 07:08:51 myhostname kernel: nfs4_create_server+0x128/0x2b0 [nfsv4 7a81e979346bb4c055c48e0da360809de74a6034]
May 06 07:08:51 myhostname kernel: ? srso_return_thunk+0x5/0x10
May 06 07:08:51 myhostname kernel: nfs4_try_get_tree+0x33/0xd0 [nfsv4 7a81e979346bb4c055c48e0da360809de74a6034]
May 06 07:08:51 myhostname kernel: vfs_get_tree+0x25/0xd0
May 06 07:08:51 myhostname kernel: ? srso_return_thunk+0x5/0x10
May 06 07:08:51 myhostname kernel: path_mount+0x6f2/0x9c0
May 06 07:08:51 myhostname kernel: do_mount+0x79/0x90
May 06 07:08:51 myhostname kernel: __x64_sys_mount+0x86/0xe0
May 06 07:08:51 myhostname kernel: do_syscall_64+0x5b/0x80
May 06 07:08:51 myhostname kernel: ? srso_return_thunk+0x5/0x10
May 06 07:08:51 myhostname kernel: ? srso_return_thunk+0x5/0x10
May 06 07:08:51 myhostname kernel: ? srso_return_thunk+0x5/0x10
May 06 07:08:51 myhostname kernel: ? exit_to_user_mode_prepare+0xfe/0x240
May 06 07:08:51 myhostname kernel: ? srso_return_thunk+0x5/0x10
May 06 07:08:51 myhostname kernel: ? syscall_exit_to_user_mode+0x1f/0x40
May 06 07:08:51 myhostname kernel: ? srso_return_thunk+0x5/0x10
May 06 07:08:51 myhostname kernel: ? do_syscall_64+0x67/0x80
May 06 07:08:51 myhostname kernel: ? srso_return_thunk+0x5/0x10
May 06 07:08:51 myhostname kernel: ? syscall_exit_to_user_mode+0x1f/0x40
May 06 07:08:51 myhostname kernel: ? srso_return_thunk+0x5/0x10
May 06 07:08:51 myhostname kernel: ? do_syscall_64+0x67/0x80
May 06 07:08:51 myhostname kernel: ? srso_return_thunk+0x5/0x10
May 06 07:08:51 myhostname kernel: ? exc_page_fault+0x67/0x150
May 06 07:08:51 myhostname kernel: entry_SYSCALL_64_after_hwframe+0x6b/0xd5
May 06 07:08:51 myhostname kernel: RIP: 0033:0x7fca4360130a
May 06 07:08:51 myhostname kernel: Code: c3 66 2e 0f 1f 84 00 00 00 00 00 0f 1f 44 00 00 90 90 90 90 90 90 90 90 90 90 90 90 90 90 66 90 49 89 ca b8 a5 00 00 00 0f 05 <48> 3d 01 f0 ff ff 73 01 c3 48 8b 0d 56 1b 0d 00 f7 d8 64 89 01 48
May 06 07:08:51 myhostname kernel: RSP: 002b:00007ffdae7275d8 EFLAGS: 00000206 ORIG_RAX: 00000000000000a5
May 06 07:08:51 myhostname kernel: RAX: ffffffffffffffda RBX: 0000000000000000 RCX: 00007fca4360130a
May 06 07:08:51 myhostname kernel: RDX: 000056522f180bb0 RSI: 000056522f180b90 RDI: 000056522f180bd0
May 06 07:08:51 myhostname kernel: RBP: 00007ffdae727750 R08: 000056522f182da0 R09: 0039362e36362e36
May 06 07:08:51 myhostname kernel: R10: 0000000000000400 R11: 0000000000000206 R12: 000056522f182a90
May 06 07:08:51 myhostname kernel: R13: 0000000000000010 R14: 00007ffdae727660 R15: 000056522f182b20
May 06 07:08:51 myhostname kernel: </TASK>
May 06 07:08:51 myhostname kernel: Modules linked in: rpcsec_gss_krb5 nfsv4 dns_resolver nfs lockd grace fscache netfs xt_LOG xt_recent xt_state xt_conntrack xt_tcpudp af_packet nft_limit nft_fib_inet nft_fib_ipv4 nft_fib_ipv6 nft_fib nft_reject_>
May 06 07:08:51 myhostname kernel: crc64 bochs drm_vram_helper drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops drm_ttm_helper ttm ata_piix ahci uhci_hcd libahci ehci_hcd aesni_intel drm crypto_simd usbcore cryptd libata serio_raw vi>
May 06 07:08:51 myhostname kernel: Supported: Yes
May 06 07:08:51 myhostname kernel: CR2: 0000000000000004
May 06 07:08:51 myhostname kernel: ---[ end trace 5aa02bcf95536c92 ]---
May 06 07:08:51 myhostname kernel: RIP: 0010:gss_get_mic_kerberos+0x2d/0x300 [rpcsec_gss_krb5]
May 06 07:08:51 myhostname kernel: Code: 00 00 41 57 41 56 41 55 41 54 49 89 d5 55 53 49 89 f4 48 83 ec 38 48 8b 5f 08 65 48 8b 04 25 28 00 00 00 48 89 44 24 30 31 c0 <8b> 43 04 83 f8 06 0f 84 fa 00 00 00 0f 86 eb 00 00 00 83 e8 11 83
May 06 07:08:51 myhostname kernel: RSP: 0018:ffffa81dc0b0b840 EFLAGS: 00010246
May 06 07:08:51 myhostname kernel: RAX: 0000000000000000 RBX: 0000000000000000 RCX: ffff911903158fd4
May 06 07:08:51 myhostname kernel: RDX: ffffa81dc0b0b8d0 RSI: ffffa81dc0b0b8f0 RDI: ffff9119517e4ce0
May 06 07:08:51 myhostname kernel: RBP: ffffa81dc0b0b970 R08: ffff911903158008 R09: ffff911903158fd4
May 06 07:08:51 myhostname kernel: R10: ffffa81dc0b0b988 R11: ffffea74440c5600 R12: ffffa81dc0b0b8f0
May 06 07:08:51 myhostname kernel: R13: ffffa81dc0b0b8d0 R14: ffff91190309ba80 R15: ffff911903158020
May 06 07:08:51 myhostname kernel: FS: 00007fca432dd840(0000) GS:ffff911a37c00000(0000) knlGS:0000000000000000
May 06 07:08:51 myhostname kernel: CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033
May 06 07:08:51 myhostname kernel: CR2: 0000000000000004 CR3: 00000001032a2000 CR4: 0000000000350ef0