Re: WARNING: CPU: 26 PID: 64391 at lib/vsprintf.c:2193 set_precision+0x84/0x90

From: Qian Cai
Date: Tue Nov 13 2018 - 13:58:45 EST


On Tue, 2018-11-13 at 19:29 +0200, Andy Shevchenko wrote:
> On Tue, Nov 13, 2018 at 11:55:32AM -0500, Qian Cai wrote:
>
> +Cc Rasmus
>
> > Running the trinity fuzzer with a non-root user on an aarch64 server with
> > the
> > latest mainline (rc2) generated this. Is it just a false alarm to ignore?
> >
> > [ÂÂ807.847370] precision 65525 too large
>
> It seems like someone uses -EAGAIN as a parameter to printf().
>
> Or rather this line
>
> Â if (!fs && (request_module("fs-%.*s", len, name) == 0)) {
> ÂÂ...
> Â }
>
> Care to print the len and name parameters before this line?
len = 60612; name =
%d%d%d%d%d%d%s%s%s%d%s%d%d%d%s%s%s%s%s%d%s%d%s%s%s%d%s%d%d%s%s%d%s%s%d%d%s%s%s%s
%s%d%s%d%d%s%s%s%d%d%d%d%d%s%s%s%s%d%s%s%s%s%d%d%d%d%d%d%d%s%s%s%s%d%s%d%s%d%s%d
%s%s%d%s%d%s%s%s%s%d%s%d%s%s%d%d%s%s%d%s%d%s%s%d%s%d%d%s%s%s%s%d%s%s%s%s%d%d%s%s
%s%d%s%d%s%s%d%d%d%d%d%s%s%s%s%s%s%s%d%d%d%s%d%s%d%d%s%d%d%d%s%s%d%d%d%s%s%d%s%d
%s%s%s%d%d%d%s%d%s%s%d%s%d%s%s%d%s%d%d%s%d%s%s%d%s%s%s%s%s%d%s%d%d%d%s%d%d%d%d%s
%d%s%d%d%d%s%s%s%s%s%d%s%s%s%s%d%d%d%s%d%s%d%d%s%d%s%s%d%d%d%s%d%s%d%d%s%s%s%d%s
%s%d%d%d%d%d%d%d%d%d%d%s%d%s%d%s%d%d%s%d%d%s%d%s%s%s%d%d%d%d%s%s%d%d%s%d%d%d%s%d
%d%s%d%d%d%d%s%s%d%s%s%d%d%d%s%s%s%s%s%s%s%s%s%d%s%d%d%s%d%s%s%d%s%s%s%s%d%d%d%d
%s%d%s%s%d%d%d%s%d%d%d%s%s%s%s%d%d%d%s%d%s%d%s%d%d%d%d%d%d%d%d%d%d%s%s%d%d%d%s%d
%d%d%s%s%s%s%s%s%s%d%d%d%d%s%s%d%s%s%d%s%s%s%s%d%d%s%d%d%s%d%d%s%d%d%d%s%s%s%s%d
%s%s%d%s%d%s%d%s%d%d%d%d%s%d%d%d%s%d%d%d%d%s%s%d%s%s%d%d%d%s%d%s%d%d%d%d%d%d%s%d
%s%s%d%d%s%d%d%d%s%s%d%s%d%s%d%s%d%d%s%d%s%s%s%s%s%d%s%s%d%d%d%s%s%d%d%s%s%d%s%d
%s%d%s%s%s%
[ÂÂ833.044728] ------------[ cut here ]------------
[ÂÂ833.137184] precision 60612 too large
>
>
> > [ÂÂ807.847449] WARNING: CPU: 26 PID: 64391 at lib/vsprintf.c:2193
> > set_precision+0x84/0x90
> > [ÂÂ807.860161] Modules linked in: cast6_generic cast_common lrw bridge 8021q
> > garp mrp stp llc dlci tcp_diag inet_diag af_key pptp gre l2tp_ppp
> > l2tp_netlink
> > l2tp_core ip6_udp_tunnel udp_tunnel pppoe pppox ppp_generic slhc crypto_user
> > ib_core nfnetlink scsi_transport_iscsi atm sctp vfat fat ghash_ce sha2_ce
> > sha256_arm64 sha1_ce ses enclosure ipmi_ssif sg ipmi_si ipmi_devintf
> > sbsa_gwdt
> > ipmi_msghandler sch_fq_codel xfs libcrc32c marvell mpt3sas mlx5_core
> > raid_class
> > hibmc_drm drm_kms_helper syscopyarea sysfillrect sysimgblt fb_sys_fops ttm
> > drm
> > ixgbe hisi_sas_v2_hw igb hisi_sas_main libsas hns_dsaf mlxfw devlink
> > hns_enet_drv mdio i2c_designware_platform i2c_algo_bit i2c_designware_core
> > ehci_platform scsi_transport_sas hns_mdio hnae dm_mirror dm_region_hash
> > dm_log
> > dm_mod
> > [ÂÂ807.927838] CPU: 26 PID: 64391 Comm: trinity-c90 Kdump: loaded Tainted:
> > GÂÂÂÂÂÂÂÂWÂÂÂÂÂÂÂÂÂ4.20.0-rc2+ #16
> > [ÂÂ807.937494] Hardware name: Huawei TaiShan 2280 /BC11SPCD, BIOS 1.50
> > 06/01/2018
> > [ÂÂ807.944718] pstate: 60000005 (nZCv daif -PAN -UAO)
> > [ÂÂ807.949515] pc : set_precision+0x84/0x90
> > [ÂÂ807.953439] lr : set_precision+0x84/0x90
> > [ÂÂ807.957362] sp : ffff801e6430f6b0
> > [ÂÂ807.960677] x29: ffff801e6430f6b0 x28: ffff801e6430fb10Â
> > [ÂÂ807.965992] x27: 0000000000000003 x26: 00000000ffffffd8Â
> > [ÂÂ807.971307] x25: ffff801e6430fba0 x24: ffff801e6430fb48Â
> > [ÂÂ807.976622] x23: ffff2000093ddfa0 x22: ffff801e6430f770Â
> > [ÂÂ807.981937] x21: ffff2000090eb4a6 x20: ffff801e6430f770Â
> > [ÂÂ807.987252] x19: 000000000000fff5 x18: 0000000000000000Â
> > [ÂÂ807.992569] x17: 0000000000000000 x16: 0000000000000000Â
> > [ÂÂ807.997884] x15: 0000000000000000 x14: 3878302031343220Â
> > [ÂÂ808.003201] x13: 6265783020303939 x12: ffff04000172b49cÂ
> > [ÂÂ808.008516] x11: 1fffe4000172b49b x10: ffff04000172b49bÂ
> > [ÂÂ808.013832] x9 : 0000000000000000 x8 : 203532353536206eÂ
> > [ÂÂ808.019148] x7 : 6f69736963657270 x6 : 0000000041b58ab3Â
> > [ÂÂ808.024463] x5 : dfff200000000000 x4 : dfff200000000000Â
> > [ÂÂ808.029779] x3 : dfff200000000000 x2 : 65a2459128144800Â
> > [ÂÂ808.035093] x1 : 65a2459128144800 x0 : 0000000000000000Â
> > [ÂÂ808.040408] Call trace:
> > [ÂÂ808.042861]ÂÂset_precision+0x84/0x90
> > [ÂÂ808.046440]ÂÂvsnprintf+0x23c/0x858
> > [ÂÂ808.049845]ÂÂ__request_module+0x1a0/0x8b8
> > [ÂÂ808.053860]ÂÂget_fs_type+0xb0/0x138
> > [ÂÂ808.057351]ÂÂdo_mount+0x2c4/0x13c0
> > [ÂÂ808.060756]ÂÂksys_mount+0xf4/0x110
> > [ÂÂ808.064160]ÂÂ__arm64_sys_mount+0x70/0x88
> > [ÂÂ808.068087]ÂÂel0_svc_handler+0xd4/0x198
> > [ÂÂ808.071928]ÂÂel0_svc+0x8/0xc
> > [ÂÂ808.074810] irq event stamp: 347872
> > [ÂÂ808.078305] hardirqs lastÂÂenabled at (347871): [<ffff2000082080e8>]
> > vprintk_emit+0x2b0/0x5c0
> > [ÂÂ808.086833] hardirqs last disabled at (347872): [<ffff200008081490>]
> > do_debug_exception+0xd8/0x190
> > [ÂÂ808.095795] softirqs lastÂÂenabled at (347844): [<ffff200008082210>]
> > __do_softirq+0x7c8/0x9c8
> > [ÂÂ808.104325] softirqs last disabled at (347837): [<ffff20000812dbe4>]
> > irq_exit+0x25c/0x2f0
> > [ÂÂ808.112502] ---[ end trace 598902d30712b79e ]---
>
>