Bug 196353 - UBSAN events in 4.11.8-300
Summary: UBSAN events in 4.11.8-300
Status: NEW
Alias: None
Product: Other
Classification: Unclassified
Component: Other (show other bugs)
Hardware: x86-64 Linux
: P1 low
Assignee: other_other
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-13 08:25 UTC by Vittorio
Modified: 2017-07-13 08:25 UTC (History)
0 users

See Also:
Kernel Version: 4.11.8
Subsystem:
Regression: No
Bisected commit-id:


Attachments
journalctl output (2.89 MB, text/plain)
2017-07-13 08:25 UTC, Vittorio
Details

Description Vittorio 2017-07-13 08:25:09 UTC
Created attachment 257475 [details]
journalctl output

After building the kernel 4.11.8-300 I get several UBSAN events at boot time.

I am attaching a journalctl log.

The following is a dmesg -e -lerr to give an idea of the events.


[Jul13 05:06] ================================================================================
[  +0.000002] ================================================================================
[  +0.000002] UBSAN: Undefined behaviour in /home/vitti/rpmbuild/SOURCES/linux-4.11/drivers/net/ethernet/realtek/r8169.c:7788:23
[  +0.000003] member access within misaligned address ffff880371a7a2dc for type 'struct rtnl_link_stats64'
[  +0.000001] which requires 8 byte alignment
[  +0.000324] ================================================================================
[  +0.000002] ================================================================================
[  +0.000003] UBSAN: Undefined behaviour in /home/vitti/rpmbuild/SOURCES/linux-4.11/drivers/net/ethernet/realtek/r8169.c:7789:24
[  +0.000002] member access within misaligned address ffff880371a7a2dc for type 'struct rtnl_link_stats64'
[  +0.000001] which requires 8 byte alignment
[  +0.000324] ================================================================================
[  +0.000005] ================================================================================
[  +0.000002] UBSAN: Undefined behaviour in /home/vitti/rpmbuild/SOURCES/linux-4.11/drivers/net/ethernet/realtek/r8169.c:7790:26
[  +0.000003] member access within misaligned address ffff880371a7a2dc for type 'struct rtnl_link_stats64'
[  +0.000001] which requires 8 byte alignment
[  +0.000324] ================================================================================
[  +0.000041] ================================================================================
[  +0.000003] UBSAN: Undefined behaviour in /home/vitti/rpmbuild/SOURCES/linux-4.11/drivers/net/ethernet/realtek/r8169.c:7791:19
[  +0.000003] member access within misaligned address ffff880371a7a2dc for type 'struct rtnl_link_stats64'
[  +0.000001] which requires 8 byte alignment
[  +0.000326] ================================================================================
[  +0.000019] ================================================================================
[  +0.000003] UBSAN: Undefined behaviour in /home/vitti/rpmbuild/SOURCES/linux-4.11/drivers/net/ethernet/realtek/r8169.c:7804:19
[  +0.000002] member access within misaligned address ffff880371a7a2dc for type 'struct rtnl_link_stats64'
[  +0.000002] which requires 8 byte alignment
[  +0.000326] ================================================================================
[  +0.000006] ================================================================================
[  +0.000003] UBSAN: Undefined behaviour in /home/vitti/rpmbuild/SOURCES/linux-4.11/drivers/net/ethernet/realtek/r8169.c:7806:20
[  +0.000002] member access within misaligned address ffff880371a7a2dc for type 'struct rtnl_link_stats64'
[  +0.000002] which requires 8 byte alignment
[  +0.000326] ================================================================================
[  +0.000001] ================================================================================
[  +0.000003] UBSAN: Undefined behaviour in /home/vitti/rpmbuild/SOURCES/linux-4.11/drivers/net/ethernet/realtek/r8169.c:7808:27
[  +0.000002] member access within misaligned address ffff880371a7a2dc for type 'struct rtnl_link_stats64'
[  +0.000002] which requires 8 byte alignment
[  +0.000325] ================================================================================
[  +0.160282] ================================================================================
[  +0.000005] UBSAN: Undefined behaviour in /home/vitti/rpmbuild/SOURCES/linux-4.11/include/linux/etherdevice.h:104:11
[  +0.000004] load of misaligned address ffff880379b10266 for type 'const u32'
[  +0.000002] which requires 4 byte alignment
[  +0.000189] ================================================================================
[  +0.000003] ================================================================================
[  +0.000002] UBSAN: Undefined behaviour in /home/vitti/rpmbuild/SOURCES/linux-4.11/include/linux/etherdevice.h:122:6
[  +0.000002] load of misaligned address ffff8803868b4a52 for type 'const u32'
[  +0.000002] which requires 4 byte alignment
[  +0.000168] ================================================================================
[  +0.000042] ================================================================================
[  +0.000003] UBSAN: Undefined behaviour in /home/vitti/rpmbuild/SOURCES/linux-4.11/include/linux/etherdevice.h:104:11
[  +0.000002] load of misaligned address ffff8803868b4a52 for type 'const u32'
[  +0.000002] which requires 4 byte alignment
[  +0.000168] ================================================================================
[  +2.019480] ================================================================================
[  +0.000007] UBSAN: Undefined behaviour in /home/vitti/rpmbuild/SOURCES/linux-4.11/arch/x86/include/asm/bitops.h:324:8
[  +0.000003] load of misaligned address ffffffffaedd2bf4 for type 'volatile const long unsigned int'
[  +0.000002] which requires 8 byte alignment
[  +0.000100] ================================================================================
[  +0.427146] ================================================================================
[  +0.000007] UBSAN: Undefined behaviour in /home/vitti/rpmbuild/SOURCES/linux-4.11/include/uapi/linux/byteorder/little_endian.h:57:9
[  +0.000003] load of misaligned address ffff8803748a20d2 for type 'const __le32'
[  +0.000002] which requires 4 byte alignment
[  +0.000205] ================================================================================
[  +0.000003] ================================================================================
[  +0.000002] UBSAN: Undefined behaviour in /home/vitti/rpmbuild/SOURCES/linux-4.11/include/uapi/linux/byteorder/little_endian.h:57:9
[  +0.000003] load of misaligned address ffff8803748a20d2 for type 'const __le32'
[  +0.000001] which requires 4 byte alignment
[  +0.000178] ================================================================================
[  +0.015292] ================================================================================
[  +0.000006] UBSAN: Undefined behaviour in /home/vitti/rpmbuild/SOURCES/linux-4.11/drivers/net/tun.c:991:21
[  +0.000003] member access within misaligned address ffff88035e96d5dc for type 'struct rtnl_link_stats64'
[  +0.000002] which requires 8 byte alignment
[  +0.000212] ================================================================================
[  +0.000010] ================================================================================
[  +0.000003] UBSAN: Undefined behaviour in /home/vitti/rpmbuild/SOURCES/linux-4.11/drivers/net/tun.c:991:21
[  +0.000003] member access within misaligned address ffff88035e96d5dc for type 'struct rtnl_link_stats64'
[  +0.000001] which requires 8 byte alignment
[  +0.000190] ================================================================================
[  +0.000002] ================================================================================
[  +0.000003] UBSAN: Undefined behaviour in /home/vitti/rpmbuild/SOURCES/linux-4.11/drivers/net/tun.c:992:20
[  +0.000002] member access within misaligned address ffff88035e96d5dc for type 'struct rtnl_link_stats64'
[  +0.000001] which requires 8 byte alignment
[  +0.000192] ================================================================================
[  +0.000002] ================================================================================
[  +0.000002] UBSAN: Undefined behaviour in /home/vitti/rpmbuild/SOURCES/linux-4.11/drivers/net/tun.c:992:20
[  +0.000003] member access within misaligned address ffff88035e96d5dc for type 'struct rtnl_link_stats64'
[  +0.000001] which requires 8 byte alignment
[  +0.000190] ================================================================================
[  +0.000002] ================================================================================
[  +0.000003] UBSAN: Undefined behaviour in /home/vitti/rpmbuild/SOURCES/linux-4.11/drivers/net/tun.c:993:21
[  +0.000002] member access within misaligned address ffff88035e96d5dc for type 'struct rtnl_link_stats64'
[  +0.000002] which requires 8 byte alignment
[  +0.000189] ================================================================================
[  +0.000002] ================================================================================
[  +0.000002] UBSAN: Undefined behaviour in /home/vitti/rpmbuild/SOURCES/linux-4.11/drivers/net/tun.c:993:21
[  +0.000003] member access within misaligned address ffff88035e96d5dc for type 'struct rtnl_link_stats64'
[  +0.000001] which requires 8 byte alignment
[  +0.000189] ================================================================================
[  +0.000005] ================================================================================
[  +0.000002] UBSAN: Undefined behaviour in /home/vitti/rpmbuild/SOURCES/linux-4.11/drivers/net/tun.c:994:20
[  +0.000003] member access within misaligned address ffff88035e96d5dc for type 'struct rtnl_link_stats64'
[  +0.000001] which requires 8 byte alignment
[  +0.000185] ================================================================================
[  +0.000001] ================================================================================
[  +0.000002] UBSAN: Undefined behaviour in /home/vitti/rpmbuild/SOURCES/linux-4.11/drivers/net/tun.c:994:20
[  +0.000003] member access within misaligned address ffff88035e96d5dc for type 'struct rtnl_link_stats64'
[  +0.000001] which requires 8 byte alignment
[  +0.000183] ================================================================================
[  +0.000002] ================================================================================
[  +0.000002] UBSAN: Undefined behaviour in /home/vitti/rpmbuild/SOURCES/linux-4.11/drivers/net/tun.c:1001:21
[  +0.000002] member access within misaligned address ffff88035e96d5dc for type 'struct rtnl_link_stats64'
[  +0.000002] which requires 8 byte alignment
[  +0.000183] ================================================================================
[  +0.000001] ================================================================================
[  +0.000003] UBSAN: Undefined behaviour in /home/vitti/rpmbuild/SOURCES/linux-4.11/drivers/net/tun.c:1002:25
[  +0.000002] member access within misaligned address ffff88035e96d5dc for type 'struct rtnl_link_stats64'
[  +0.000001] which requires 8 byte alignment
[  +0.000183] ================================================================================
[  +0.000001] ================================================================================
[  +0.000003] UBSAN: Undefined behaviour in /home/vitti/rpmbuild/SOURCES/linux-4.11/drivers/net/tun.c:1003:20
[  +0.000002] member access within misaligned address ffff88035e96d5dc for type 'struct rtnl_link_stats64'
[  +0.000001] which requires 8 byte alignment
[  +0.000182] ================================================================================
[  +0.012125] ================================================================================
[  +0.000005] UBSAN: Undefined behaviour in /home/vitti/rpmbuild/SOURCES/linux-4.11/include/linux/etherdevice.h:321:15
[  +0.000003] load of misaligned address ffff8803789711f2 for type 'const u32'
[  +0.000002] which requires 4 byte alignment
[  +0.000097] ================================================================================
[Jul13 05:07] ================================================================================
[  +0.000007] UBSAN: Undefined behaviour in /home/vitti/rpmbuild/SOURCES/linux-4.11/arch/x86/include/asm/bitops.h:324:8
[  +0.000003] load of misaligned address ffffffffaedd2c34 for type 'volatile const long unsigned int'
[  +0.000002] which requires 8 byte alignment
[  +0.000073] ================================================================================
[  +8.467253] ================================================================================
[  +0.000007] UBSAN: Undefined behaviour in /home/vitti/rpmbuild/SOURCES/linux-4.11/include/linux/unaligned/access_ok.h:44:17
[  +0.000003] store to misaligned address ffff880385e32011 for type '__le32'
[  +0.000002] which requires 4 byte alignment
[  +0.000070] ================================================================================
[  +3.716433] ================================================================================
[  +0.000006] UBSAN: Undefined behaviour in /home/vitti/rpmbuild/SOURCES/linux-4.11/include/uapi/linux/byteorder/little_endian.h:57:9
[  +0.000003] load of misaligned address ffff88031d17309e for type 'const __le32'
[  +0.000002] which requires 4 byte alignment
[  +0.000102] ================================================================================
[  +0.000002] ================================================================================
[  +0.000002] UBSAN: Undefined behaviour in /home/vitti/rpmbuild/SOURCES/linux-4.11/include/uapi/linux/byteorder/little_endian.h:57:9
[  +0.000003] load of misaligned address ffff88031d17389e for type 'const __le32'
[  +0.000001] which requires 4 byte alignment
[  +0.000085] ================================================================================
[  +0.004390] ================================================================================
[  +0.000005] UBSAN: Undefined behaviour in /home/vitti/rpmbuild/SOURCES/linux-4.11/include/uapi/linux/byteorder/little_endian.h:57:9
[  +0.000003] load of misaligned address ffff88031d1b980a for type 'const __le32'
[  +0.000001] which requires 4 byte alignment
[  +0.000107] ================================================================================
[  +0.000002] ================================================================================
[  +0.000003] UBSAN: Undefined behaviour in /home/vitti/rpmbuild/SOURCES/linux-4.11/include/uapi/linux/byteorder/little_endian.h:57:9
[  +0.000002] load of misaligned address ffff88031d1b980a for type 'const __le32'
[  +0.000002] which requires 4 byte alignment
[  +0.000095] ================================================================================
[  +0.000026] ================================================================================
[  +0.000003] UBSAN: Undefined behaviour in /home/vitti/rpmbuild/SOURCES/linux-4.11/include/uapi/linux/byteorder/little_endian.h:57:9
[  +0.000003] load of misaligned address ffff88031d1b9802 for type 'const __le32'
[  +0.000001] which requires 4 byte alignment
[  +0.000097] ================================================================================
[  +0.003904] ================================================================================
[  +0.000005] UBSAN: Undefined behaviour in /home/vitti/rpmbuild/SOURCES/linux-4.11/include/uapi/linux/byteorder/little_endian.h:65:9
[  +0.000003] load of misaligned address ffff88031d1bd821 for type 'const __le16'
[  +0.000002] which requires 2 byte alignment
[  +0.000112] ================================================================================
[  +0.046717] ================================================================================
[  +0.000007] UBSAN: Undefined behaviour in /home/vitti/rpmbuild/SOURCES/linux-4.11/include/uapi/linux/byteorder/little_endian.h:57:9
[  +0.000003] load of misaligned address ffff88031d1bd802 for type 'const __le32'
[  +0.000002] which requires 4 byte alignment
[  +0.000058] ================================================================================
[  +0.000159] ================================================================================
[  +0.000004] UBSAN: Undefined behaviour in /home/vitti/rpmbuild/SOURCES/linux-4.11/include/uapi/linux/byteorder/little_endian.h:57:9
[  +0.000003] load of misaligned address ffff88031d1bd8be for type 'const __le32'
[  +0.000001] which requires 4 byte alignment
[  +0.000100] ================================================================================
[  +7.172893] ================================================================================
[  +0.000008] UBSAN: Undefined behaviour in /home/vitti/rpmbuild/SOURCES/linux-4.11/mm/slub.c:3662:2
[  +0.000003] member access within misaligned address ffff8803750bc2e8 for type 'struct page'
[  +0.000002] which requires 16 byte alignment
[  +0.000106] ================================================================================
[ +31.089075] ================================================================================
[  +0.000003] UBSAN: Undefined behaviour in /home/vitti/rpmbuild/SOURCES/linux-4.11/kernel/trace/trace_output.c:1229:2
[  +0.000003] member access within misaligned address ffff8803885d101c for type 'struct bputs_entry'
[  +0.000001] which requires 8 byte alignment
[  +0.000067] ================================================================================
[  +0.000003] ================================================================================
[  +0.000003] UBSAN: Undefined behaviour in /home/vitti/rpmbuild/SOURCES/linux-4.11/kernel/trace/trace_output.c:1231:2
[  +0.000002] member access within misaligned address ffff8803885d101c for type 'struct bputs_entry'
[  +0.000002] which requires 8 byte alignment
[  +0.000051] ================================================================================
[  +0.000013] ================================================================================
[  +0.000002] UBSAN: Undefined behaviour in /home/vitti/rpmbuild/SOURCES/linux-4.11/kernel/trace/trace_output.c:1273:2
[  +0.000003] member access within misaligned address ffff8803885d105c for type 'struct bprint_entry'
[  +0.000001] which requires 8 byte alignment
[  +0.000049] ================================================================================
[  +0.000003] ================================================================================
[  +0.000002] UBSAN: Undefined behaviour in /home/vitti/rpmbuild/SOURCES/linux-4.11/kernel/trace/trace_output.c:1275:2
[  +0.000003] member access within misaligned address ffff8803885d105c for type 'struct bprint_entry'
[  +0.000001] which requires 8 byte alignment
[  +0.000049] ================================================================================

Note You need to log in before you can comment on or make changes to this bug.