tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master head: 36f90b0a2ddd60823fe193a85e60ff1906c2a9b3 commit: c6d308534aef6c99904bf5862066360ae067abc4 UBSAN: run-time undefined behavior sanity checker date: 11 days ago config: i386-randconfig-h1-02011158 (attached as .config) reproduce: git checkout c6d308534aef6c99904bf5862066360ae067abc4 # save the attached .config to linux build tree make ARCH=i386 All warnings (new ones prefixed by >>): drivers/staging/rtl8723au/core/rtw_security.c: In function 'phase1': >> drivers/staging/rtl8723au/core/rtw_security.c:529:1: warning: the frame size of 1076 bytes is larger than 1024 bytes [-Wframe-larger-than=] } ^ vim +529 drivers/staging/rtl8723au/core/rtw_security.c 5e93f352 Larry Finger 2014-03-28 513 p1k[2] = Mk16(ta[1], ta[0]); /* use TA[] as little-endian */ 5e93f352 Larry Finger 2014-03-28 514 p1k[3] = Mk16(ta[3], ta[2]); 5e93f352 Larry Finger 2014-03-28 515 p1k[4] = Mk16(ta[5], ta[4]); 5e93f352 Larry Finger 2014-03-28 516 5e93f352 Larry Finger 2014-03-28 517 /* Now compute an unbalanced Feistel cipher with 80-bit block */ 5e93f352 Larry Finger 2014-03-28 518 /* size on the 80-bit block P1K[], using the 128-bit key TK[] */ 5db8bee6 Tina Ruchandani 2014-10-23 519 for (i = 0; i < PHASE1_LOOP_CNT; i++) { 5db8bee6 Tina Ruchandani 2014-10-23 520 /* Each add operation here is mod 2**16 */ 5e93f352 Larry Finger 2014-03-28 521 p1k[0] += _S_(p1k[4] ^ TK16((i & 1) + 0)); 5e93f352 Larry Finger 2014-03-28 522 p1k[1] += _S_(p1k[0] ^ TK16((i & 1) + 2)); 5e93f352 Larry Finger 2014-03-28 523 p1k[2] += _S_(p1k[1] ^ TK16((i & 1) + 4)); 5e93f352 Larry Finger 2014-03-28 524 p1k[3] += _S_(p1k[2] ^ TK16((i & 1) + 6)); 5e93f352 Larry Finger 2014-03-28 525 p1k[4] += _S_(p1k[3] ^ TK16((i & 1) + 0)); 5e93f352 Larry Finger 2014-03-28 526 p1k[4] += (unsigned short) i; /* avoid "slide attacks" */ 5e93f352 Larry Finger 2014-03-28 527 } 5e93f352 Larry Finger 2014-03-28 528 5e93f352 Larry Finger 2014-03-28 @529 } 5e93f352 Larry Finger 2014-03-28 530 5e93f352 Larry Finger 2014-03-28 531 /* 5e93f352 Larry Finger 2014-03-28 532 ********************************************************************** 5e93f352 Larry Finger 2014-03-28 533 * Routine: Phase 2 -- generate RC4KEY, given TK, P1K, IV16 5e93f352 Larry Finger 2014-03-28 534 * 5e93f352 Larry Finger 2014-03-28 535 * Inputs: 5e93f352 Larry Finger 2014-03-28 536 * tk[] = Temporal key [128 bits] 5e93f352 Larry Finger 2014-03-28 537 * p1k[] = Phase 1 output key [ 80 bits] :::::: The code at line 529 was first introduced by commit :::::: 5e93f35209578fcabfa855e427354195e54b491f staging: r8723au: Add source files for new driver - part 1 :::::: TO: Larry Finger <Larry.Finger@xxxxxxxxxxxx> :::::: CC: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx> --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
Attachment:
.config.gz
Description: Binary data