tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

ASan: Unauthorized Access



Yesterday evening I updated the tree and compiled GENERIC_KASAN kernel.

It survived a night of three aft test runs but I see a bunch of
'ASan: Unauthorized Access' stack traces in dmesg, all around
the same time. They all look alike. Is it a known problem?

[ 10325.124325] ASan: Unauthorized Access In 0xffffffff80f60ce0: Addr 0xffff938023b77f80 [4 bytes, read, RedZone]
[ 10325.124325] #0 0xffffffff80f60ce0 in kauth_cred_uidmatch <netbsd>
[ 10325.134352] #1 0xffffffff816f6dc5 in secmodel_extensions_network_cb <netbsd>
[ 10325.134352] #2 0xffffffff80f5f75c in kauth_authorize_action_internal <netbsd>
[ 10325.134352] #3 0xffffffff80f61dfa in kauth_authorize_action <netbsd>
[ 10325.134352] #4 0xffffffff80f627a0 in kauth_authorize_network <netbsd>
[ 10325.134352] #5 0xffffffff80aeafd3 in sysctl_inpcblist <netbsd>
[ 10325.134352] #6 0xffffffff80fc447f in sysctl_dispatch <netbsd>
[ 10325.134352] #7 0xffffffff80fc48dc in sys___sysctl <netbsd>
[ 10325.134352] #8 0xffffffff8026b3ae in syscall <netbsd>
[ 10325.134352] ASan: Unauthorized Access In 0xffffffff80f60d05: Addr 0xffff938023b77f84 [4 bytes, read, RedZone]
[ 10325.134352] #0 0xffffffff80f60d05 in kauth_cred_uidmatch <netbsd>
[ 10325.134352] #1 0xffffffff816f6dc5 in secmodel_extensions_network_cb <netbsd>
[ 10325.134352] #2 0xffffffff80f5f75c in kauth_authorize_action_internal <netbsd>
[ 10325.144377] #3 0xffffffff80f61dfa in kauth_authorize_action <netbsd>
[ 10325.144377] #4 0xffffffff80f627a0 in kauth_authorize_network <netbsd>
[ 10325.144377] #5 0xffffffff80aeafd3 in sysctl_inpcblist <netbsd>
[ 10325.144377] #6 0xffffffff80fc447f in sysctl_dispatch <netbsd>
[ 10325.144377] #7 0xffffffff80fc48dc in sys___sysctl <netbsd>
[ 10325.144377] #8 0xffffffff8026b3ae in syscall <netbsd>
[ 10325.144377] ASan: Unauthorized Access In 0xffffffff80f60ce0: Addr 0xffff93805d15db00 [4 bytes, read, RedZone]
[ 10325.144377] #0 0xffffffff80f60ce0 in kauth_cred_uidmatch <netbsd>
[ 10325.144377] #1 0xffffffff816f6dc5 in secmodel_extensions_network_cb <netbsd>
[ 10325.144377] #2 0xffffffff80f5f75c in kauth_authorize_action_internal <netbsd>
[ 10325.144377] #3 0xffffffff80f61dfa in kauth_authorize_action <netbsd>
[ 10325.144377] #4 0xffffffff80f627a0 in kauth_authorize_network <netbsd>
[ 10325.154403] #5 0xffffffff80aeafd3 in sysctl_inpcblist <netbsd>
[ 10325.154403] #6 0xffffffff80fc447f in sysctl_dispatch <netbsd>
[ 10325.154403] #7 0xffffffff80fc48dc in sys___sysctl <netbsd>
[ 10325.154403] #8 0xffffffff8026b3ae in syscall <netbsd>
[ 10325.154403] ASan: Unauthorized Access In 0xffffffff80f60d05: Addr 0xffff93805d15db04 [4 bytes, read, RedZone]
[ 10325.154403] #0 0xffffffff80f60d05 in kauth_cred_uidmatch <netbsd>
[ 10325.154403] #1 0xffffffff816f6dc5 in secmodel_extensions_network_cb <netbsd>
[ 10325.154403] #2 0xffffffff80f5f75c in kauth_authorize_action_internal <netbsd>
[ 10325.154403] #3 0xffffffff80f61dfa in kauth_authorize_action <netbsd>
[ 10325.154403] #4 0xffffffff80f627a0 in kauth_authorize_network <netbsd>
[ 10325.154403] #5 0xffffffff80aeafd3 in sysctl_inpcblist <netbsd>
[ 10325.154403] #6 0xffffffff80fc447f in sysctl_dispatch <netbsd>
[ 10325.154403] #7 0xffffffff80fc48dc in sys___sysctl <netbsd>
[ 10325.164430] #8 0xffffffff8026b3ae in syscall <netbsd>
[ 10325.164430] ASan: Unauthorized Access In 0xffffffff80f60ce0: Addr 0xffff938023b77f80 [4 bytes, read, RedZone]
[ 10325.164430] #0 0xffffffff80f60ce0 in kauth_cred_uidmatch <netbsd>
[ 10325.164430] #1 0xffffffff816f6dc5 in secmodel_extensions_network_cb <netbsd>
[ 10325.164430] #2 0xffffffff80f5f75c in kauth_authorize_action_internal <netbsd>
[ 10325.164430] #3 0xffffffff80f61dfa in kauth_authorize_action <netbsd>
[ 10325.164430] #4 0xffffffff80f627a0 in kauth_authorize_network <netbsd>
[ 10325.164430] #5 0xffffffff80aeafd3 in sysctl_inpcblist <netbsd>
[ 10325.164430] #6 0xffffffff80fc447f in sysctl_dispatch <netbsd>
[ 10325.164430] #7 0xffffffff80fc48dc in sys___sysctl <netbsd>
[ 10325.164430] #8 0xffffffff8026b3ae in syscall <netbsd>
[ 10325.164430] ASan: Unauthorized Access In 0xffffffff80f60d05: Addr 0xffff938023b77f84 [4 bytes, read, RedZone]
[ 10325.164430] #0 0xffffffff80f60d05 in kauth_cred_uidmatch <netbsd>
[ 10325.174456] #1 0xffffffff816f6dc5 in secmodel_extensions_network_cb <netbsd>
[ 10325.174456] #2 0xffffffff80f5f75c in kauth_authorize_action_internal <netbsd>
[ 10325.174456] #3 0xffffffff80f61dfa in kauth_authorize_action <netbsd>
[ 10325.174456] #4 0xffffffff80f627a0 in kauth_authorize_network <netbsd>
[ 10325.174456] #5 0xffffffff80aeafd3 in sysctl_inpcblist <netbsd>
[ 10325.174456] #6 0xffffffff80fc447f in sysctl_dispatch <netbsd>
[ 10325.174456] #7 0xffffffff80fc48dc in sys___sysctl <netbsd>
[ 10325.174456] #8 0xffffffff8026b3ae in syscall <netbsd>
[ 10325.174456] ASan: Unauthorized Access In 0xffffffff80f60ce0: Addr 0xffff93805d15db00 [4 bytes, read, RedZone]
[ 10325.174456] #0 0xffffffff80f60ce0 in kauth_cred_uidmatch <netbsd>
[ 10325.174456] #1 0xffffffff816f6dc5 in secmodel_extensions_network_cb <netbsd>
[ 10325.174456] #2 0xffffffff80f5f75c in kauth_authorize_action_internal <netbsd>
[ 10325.174456] #3 0xffffffff80f61dfa in kauth_authorize_action <netbsd>
[ 10325.184518] #4 0xffffffff80f627a0 in kauth_authorize_network <netbsd>
[ 10325.184518] #5 0xffffffff80aeafd3 in sysctl_inpcblist <netbsd>
[ 10325.184518] #6 0xffffffff80fc447f in sysctl_dispatch <netbsd>
[ 10325.184518] #7 0xffffffff80fc48dc in sys___sysctl <netbsd>
[ 10325.184518] #8 0xffffffff8026b3ae in syscall <netbsd>
[ 10325.184518] ASan: Unauthorized Access In 0xffffffff80f60d05: Addr 0xffff93805d15db04 [4 bytes, read, RedZone]
[ 10325.184518] #0 0xffffffff80f60d05 in kauth_cred_uidmatch <netbsd>
[ 10325.184518] #1 0xffffffff816f6dc5 in secmodel_extensions_network_cb <netbsd>
[ 10325.184518] #2 0xffffffff80f5f75c in kauth_authorize_action_internal <netbsd>
[ 10325.184518] #3 0xffffffff80f61dfa in kauth_authorize_action <netbsd>
[ 10325.184518] #4 0xffffffff80f627a0 in kauth_authorize_network <netbsd>
[ 10325.184518] #5 0xffffffff80aeafd3 in sysctl_inpcblist <netbsd>
[ 10325.194508] #6 0xffffffff80fc447f in sysctl_dispatch <netbsd>
[ 10325.194508] #7 0xffffffff80fc48dc in sys___sysctl <netbsd>
[ 10325.194508] #8 0xffffffff8026b3ae in syscall <netbsd>

$ uname -a
NetBSD neva 8.99.36 NetBSD 8.99.36 (GENERIC_KASAN) #0: Fri Apr  5 22:09:51 BST 2019  alnsn@neva:/home/alnsn/netbsd-current/clean/src/sys/arch/amd64/compile/obj/GENERIC_KASAN amd64

-- 
Alex


Home | Main Index | Thread Index | Old Index